WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] stop_machine: Pass cpu number to tasklet handler.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 May 2010 05:15:30 -0700
Delivery-date: Wed, 19 May 2010 05:16:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] stop_machine: Pass cpu number to tasklet handler., Xen patchbot-unstable <=