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

[Xen-changelog] [xen-3.4-testing] cpu hotplug: Add the missed rcu init for new added CPU



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1268158419 0
# Node ID bfcf9211c9b9607d94c1d51ead977847127b9443
# Parent  0e9f112a7349a43faacad1953f285fcabaf7efe4
cpu hotplug: Add the missed rcu init for new added CPU

Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx>
xen-unstable changeset:   21008:2fc43ea6b8de
xen-unstable date:        Mon Mar 08 19:10:27 2010 +0000
---
 xen/arch/x86/smpboot.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 0e9f112a7349 -r bfcf9211c9b9 xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Tue Mar 09 18:13:04 2010 +0000
+++ b/xen/arch/x86/smpboot.c    Tue Mar 09 18:13:39 2010 +0000
@@ -1367,6 +1367,8 @@ int cpu_up(unsigned int cpu)
                goto out;
        }
 
+       rcu_online_cpu(cpu);
+
        err = __cpu_up(cpu);
        if (err < 0)
                goto out;

_______________________________________________
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®.