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

[Xen-changelog] [xen-unstable] [POWERPC][XEN] Fix RCU crash.



# 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


 


Rackspace

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