summaryrefslogtreecommitdiffstats
path: root/sys/dev/xen/timer/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/xen/timer/timer.c')
-rw-r--r--sys/dev/xen/timer/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/xen/timer/timer.c b/sys/dev/xen/timer/timer.c
index 605e5c5..824c75b 100644
--- a/sys/dev/xen/timer/timer.c
+++ b/sys/dev/xen/timer/timer.c
@@ -396,7 +396,7 @@ xentimer_et_start(struct eventtimer *et,
{
int error = 0, i = 0;
struct xentimer_softc *sc = et->et_priv;
- int cpu = PCPU_GET(acpi_id);
+ int cpu = PCPU_GET(vcpu_id);
struct xentimer_pcpu_data *pcpu = DPCPU_PTR(xentimer_pcpu);
uint64_t first_in_ns, next_time;
@@ -433,7 +433,7 @@ xentimer_et_start(struct eventtimer *et,
static int
xentimer_et_stop(struct eventtimer *et)
{
- int cpu = PCPU_GET(acpi_id);
+ int cpu = PCPU_GET(vcpu_id);
struct xentimer_pcpu_data *pcpu = DPCPU_PTR(xentimer_pcpu);
pcpu->timer = 0;
OpenPOWER on IntegriCloud