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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1268075427 0
# Node ID 2fc43ea6b8def7bd921b2fcfcec21499c5fb7570
# Parent  6450dfb7737f7ef09fea6af150bd3a1a196c7b34
cpu hotplug: Add the missed rcu init for new added CPU

Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx>
---
 xen/arch/x86/smpboot.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 6450dfb7737f -r 2fc43ea6b8de xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Mon Mar 08 19:09:23 2010 +0000
+++ b/xen/arch/x86/smpboot.c    Mon Mar 08 19:10:27 2010 +0000
@@ -1391,6 +1391,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®.