i386-specific part of the new mechanism to allow debuggers to learn about starting/dying CPUs as early/late as possible. Signed-Off-By: Jan Beulich Index: 2.6.14-nlkd/arch/i386/kernel/smpboot.c =================================================================== --- 2.6.14-nlkd.orig/arch/i386/kernel/smpboot.c 2005-11-09 10:40:17.000000000 +0100 +++ 2.6.14-nlkd/arch/i386/kernel/smpboot.c 2005-11-04 16:19:33.000000000 +0100 @@ -486,6 +486,7 @@ static void __devinit start_secondary(vo smp_callin(); while (!cpu_isset(smp_processor_id(), smp_commenced_mask)) rep_nop(); + cpu_notify(CPU_ALIVE); setup_secondary_APIC_clock(); if (nmi_watchdog == NMI_IO_APIC) { disable_8259A_irq(0); @@ -970,6 +971,7 @@ void cpu_exit_clear(void) int cpu = raw_smp_processor_id(); idle_task_exit(); + cpu_notify(CPU_DYING); cpucount --; cpu_uninit();