mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
stop_machine: Pass cpu number to tasklet handler.
Otherwise the BUG_ON() I added to the handler always BUGs! Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
996d727761
commit
d166917029
1 file changed
+1
-1
@@ -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);
|
||||