aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-03-08 19:10:27 +0000
committerKeir Fraser <keir.fraser@citrix.com>2010-03-08 19:10:27 +0000
commit2a8b806d1eee852855183f25263ac5ab9cc3f93e (patch)
tree01944689ec95be9a9a304cc0dbc718b41a0c5b6b
parent4c49f9df8366a43482946c92bc7882605ebb206c (diff)
downloadxen-2a8b806d1eee852855183f25263ac5ab9cc3f93e.tar.gz
xen-2a8b806d1eee852855183f25263ac5ab9cc3f93e.tar.bz2
xen-2a8b806d1eee852855183f25263ac5ab9cc3f93e.zip
cpu hotplug: Add the missed rcu init for new added CPU
Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
-rw-r--r--xen/arch/x86/smpboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
index 5118da3d47..7e9473f267 100644
--- a/xen/arch/x86/smpboot.c
+++ b/xen/arch/x86/smpboot.c
@@ -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;