Revert "x86, reboot: Use NMI instead of REBOOT_VECTOR to stop cpus"
authorDon Zickus <dzickus@redhat.com>
Fri, 11 May 2012 18:41:13 +0000 (14:41 -0400)
committerIngo Molnar <mingo@kernel.org>
Mon, 14 May 2012 09:49:37 +0000 (11:49 +0200)
commit5d2b86d90f7cc4a41316cef3d41560da6141f45c
tree2cc9cc6c83d432e5e805b82d682d320fd264195a
parent144d102b926f887d3d9f909b69a5c4f504ae0d40
Revert "x86, reboot: Use NMI instead of REBOOT_VECTOR to stop cpus"

This reverts commit 3603a2512f9e69dc87914ba922eb4a0812b21cd6.

Originally I wanted a better hammer to shutdown cpus during
panic. However, this really steps on the toes of various
spinlocks in the panic path.  Sometimes it is easier to wait for
the IRQ to become re-enabled to indictate the cpu left the
critical region and then shutdown the cpu.

The next patch moves the NMI addition after the IRQ part.  To
make it easier to see the logic of everything, revert this patch
and apply the next simpler patch.

Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1336761675-24296-2-git-send-email-dzickus@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/smp.c