]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/kernel/smp.c
powerpc: stop_this_cpu: remove the cpu from the online map.
[karo-tx-linux.git] / arch / powerpc / kernel / smp.c
index 9b86a74d281504cf255ae9a2f2b3e7b5009076fb..97196eefef3edccba66bfd7398b9d75962e1d5c4 100644 (file)
@@ -218,6 +218,9 @@ void crash_send_ipi(void (*crash_ipi_callback)(struct pt_regs *))
 
 static void stop_this_cpu(void *dummy)
 {
+       /* Remove this CPU */
+       set_cpu_online(smp_processor_id(), false);
+
        local_irq_disable();
        while (1)
                ;