aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/reboot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index 17a41e05556..c3cd512484e 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -577,6 +577,7 @@ static struct notifier_block crash_nmi_nb = {
577void nmi_shootdown_cpus(nmi_shootdown_cb callback) 577void nmi_shootdown_cpus(nmi_shootdown_cb callback)
578{ 578{
579 unsigned long msecs; 579 unsigned long msecs;
580 local_irq_disable();
580 581
581 /* Make a note of crashing cpu. Will be used in NMI callback.*/ 582 /* Make a note of crashing cpu. Will be used in NMI callback.*/
582 crashing_cpu = safe_smp_processor_id(); 583 crashing_cpu = safe_smp_processor_id();