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] [POWERPC][XEN] Fix RCU crash.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [POWERPC][XEN] Fix RCU crash.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Feb 2007 15:01:01 -0800
Delivery-date: Wed, 14 Feb 2007 15:20:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 Hollis Blanchard <hollisb@xxxxxxxxxx>
# Date 1171053801 21600
# Node ID 376940a942e9d9a6b335db325cc9dc41bb480c78
# Parent  272291dacad45903a439471835769af233fc64e4
[POWERPC][XEN] Fix RCU crash.
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/setup.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 272291dacad4 -r 376940a942e9 xen/arch/powerpc/setup.c
--- a/xen/arch/powerpc/setup.c  Fri Feb 09 14:43:21 2007 -0600
+++ b/xen/arch/powerpc/setup.c  Fri Feb 09 14:43:21 2007 -0600
@@ -36,6 +36,7 @@
 #include <xen/symbols.h>
 #include <xen/keyhandler.h>
 #include <xen/numa.h>
+#include <xen/rcupdate.h>
 #include <acm/acm_hooks.h>
 #include <public/version.h>
 #include <asm/mpic.h>
@@ -176,6 +177,7 @@ static void __init start_of_day(void)
     register_keyhandler('D', key_ofdump , "Dump OF Devtree");
 
     timer_init();
+    rcu_init();
     serial_init_postirq();
     do_initcalls();
 }
@@ -240,6 +242,8 @@ static int kick_secondary_cpus(int maxcp
 
         /* For now everything is single core */
         cpu_set(cpuid, cpu_core_map[cpuid]);
+
+        rcu_online_cpu(cpuid);
 
         numa_set_node(cpuid, 0);
         numa_add_cpu(cpuid);

_______________________________________________
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] [POWERPC][XEN] Fix RCU crash., Xen patchbot-unstable <=