debuggers.hg

changeset 21054:2fc43ea6b8de

cpu hotplug: Add the missed rcu init for new added CPU

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Mar 08 19:10:27 2010 +0000 (2010-03-08)
parents 6450dfb7737f
children a02b1c791c9b
files xen/arch/x86/smpboot.c
line diff
     1.1 --- a/xen/arch/x86/smpboot.c	Mon Mar 08 19:09:23 2010 +0000
     1.2 +++ b/xen/arch/x86/smpboot.c	Mon Mar 08 19:10:27 2010 +0000
     1.3 @@ -1391,6 +1391,8 @@ int cpu_up(unsigned int cpu)
     1.4  		goto out;
     1.5  	}
     1.6  
     1.7 +	rcu_online_cpu(cpu);
     1.8 +
     1.9  	err = __cpu_up(cpu);
    1.10  	if (err < 0)
    1.11  		goto out;