projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/xen: use xen_vcpu_id mapping for HYPERVISOR_vcpu_op
[cascardo/linux.git]
/
drivers
/
xen
/
time.c
diff --git
a/drivers/xen/time.c
b/drivers/xen/time.c
index
a7fe35b
..
48c3f69
100644
(file)
--- a/
drivers/xen/time.c
+++ b/
drivers/xen/time.c
@@
-95,7
+95,7
@@
void xen_setup_runstate_info(int cpu)
area.addr.v = &per_cpu(xen_runstate, cpu);
if (HYPERVISOR_vcpu_op(VCPUOP_register_runstate_memory_area,
-
cpu
, &area))
+
xen_vcpu_nr(cpu)
, &area))
BUG();
}