Jeremy Fitzhardinge
2007-Jun-06 15:40 UTC
[PATCH] xen: fix xen-smp.patch: setup_runstate_info
Somehow an smp_processor_id() survived the transition to passing the cpu around. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Cc: Jan Beulich <jbeulich@novell.com> --- arch/i386/xen/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ==================================================================--- a/arch/i386/xen/time.c +++ b/arch/i386/xen/time.c @@ -110,7 +110,7 @@ static void setup_runstate_info(int cpu) area.addr.v = &per_cpu(runstate, cpu); if (HYPERVISOR_vcpu_op(VCPUOP_register_runstate_memory_area, - smp_processor_id(), &area)) + cpu, &area)) BUG(); }
Possibly Parallel Threads
- [PATCH 0/2] runstate_memory_area on ARM
- [PATCH] xen/smp: Fixup NOHZ per cpu data when onlining an offline CPU.
- [PATCH 05/27] xen, cpu hotplug: Don't call cpu_bringup() in xen_play_dead()
- [PATCH 05/27] xen, cpu hotplug: Don't call cpu_bringup() in xen_play_dead()
- [PATCH] xen: arm: document which hypercalls (and subops) are supported on ARM