[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] stop_machine: Pass cpu number to tasklet handler.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273855714 -3600
# Node ID 385abc693c967c4c1adfa4d896a4c681dc06a31f
# Parent  7e09316ba4edc1e9581a09008125be6ad111c6fc
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@xxxxxxxxxx>
---
 xen/common/stop_machine.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 7e09316ba4ed -r 385abc693c96 xen/common/stop_machine.c
--- a/xen/common/stop_machine.c Fri May 14 17:21:32 2010 +0100
+++ b/xen/common/stop_machine.c Fri May 14 17:48:34 2010 +0100
@@ -160,7 +160,7 @@ static int __init cpu_stopmachine_init(v
     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);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.