Re: [PATCH 4/6]cpu state clean after hot remove

2005-04-20 Thread Li Shaohua
On Tue, 2005-04-12 at 13:31, Li Shaohua wrote: > @@ -1052,7 +1086,7 @@ static void __init smp_boot_cpus(unsigne > if (max_cpus <= cpucount+1) > continue; > > - if (do_boot_cpu(apicid)) > + if ((cpu = alloc_cpu_id() > 0) && do_boot_cpu(ap

[PATCH 4/6]cpu state clean after hot remove

2005-04-11 Thread Li Shaohua
Clean CPU states in order to reuse smp boot code for CPU hotplug. Signed-off-by: Li Shaohua<[EMAIL PROTECTED]> --- linux-2.6.11-root/arch/i386/kernel/cpu/common.c | 12 linux-2.6.11-root/arch/i386/kernel/irq.c|5 + linux-2.6.11-root/arch/i386/kernel/process.c| 19 +++