x86: disable IRQs before doing anything on nmi_shootdown_cpus()
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 12 Nov 2008 13:34:44 +0000 (11:34 -0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 12 Nov 2008 17:55:49 +0000 (18:55 +0100)
commitc415b3dce30dfb41234e118662e8720f47343a4f
tree0bca0f5e8356c96c3f4de5898023a3ef0636057a
parentbb8dd270e62217e2d2172094c6c352c4ddc0a127
x86: disable IRQs before doing anything on nmi_shootdown_cpus()

Impact: make nmi_shootdown_cpus() callable from preemptible context

We need to know on which CPU we are running on, and we don't want to be
preempted while doing this.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/reboot.c