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:
Keir Fraser committed 2010-05-14 17:48:34 +01:00
1 parent 996d727761
commit d166917029
1 file changed
+1 -1
+1 -1
View File
@@ -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);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.