diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-14 17:48:34 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-14 17:48:34 +0100 |
commit | d16691702974c9c8a30db969d66529320cdccd97 (patch) | |
tree | 901ccf2b6e63989d4af90acc805a2f57b79b4ece /xen/common/stop_machine.c | |
parent | 996d7277611a406c24f182fa4ec55b18e6ebe176 (diff) | |
download | xen-d16691702974c9c8a30db969d66529320cdccd97.tar.gz xen-d16691702974c9c8a30db969d66529320cdccd97.tar.bz2 xen-d16691702974c9c8a30db969d66529320cdccd97.zip |
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>
Diffstat (limited to 'xen/common/stop_machine.c')
-rw-r--r-- | xen/common/stop_machine.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |