diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-03-08 19:10:27 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-03-08 19:10:27 +0000 |
commit | 2a8b806d1eee852855183f25263ac5ab9cc3f93e (patch) | |
tree | 01944689ec95be9a9a304cc0dbc718b41a0c5b6b | |
parent | 4c49f9df8366a43482946c92bc7882605ebb206c (diff) | |
download | xen-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.c | 2 |
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; |