From: Keir Fraser Date: Fri, 14 May 2010 16:48:34 +0000 (+0100) Subject: stop_machine: Pass cpu number to tasklet handler. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12156 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d16691702974c9c8a30db969d66529320cdccd97;p=xen.git stop_machine: Pass cpu number to tasklet handler. Otherwise the BUG_ON() I added to the handler always BUGs! Signed-off-by: Keir Fraser --- diff --git a/xen/common/stop_machine.c b/xen/common/stop_machine.c index 70856505e3..83f525f09b 100644 --- a/xen/common/stop_machine.c +++ b/xen/common/stop_machine.c @@ -160,7 +160,7 @@ static int __init cpu_stopmachine_init(void) unsigned int cpu; for_each_possible_cpu ( cpu ) tasklet_init(&per_cpu(stopmachine_tasklet, cpu), - stopmachine_action, 0); + stopmachine_action, cpu); return 0; } __initcall(cpu_stopmachine_init);