diff options
Diffstat (limited to 'arch/x86/kernel/crash.c')
-rw-r--r-- | arch/x86/kernel/crash.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c index 268553817909..81e01f7b1d12 100644 --- a/arch/x86/kernel/crash.c +++ b/arch/x86/kernel/crash.c | |||
@@ -77,10 +77,7 @@ static int crash_nmi_callback(struct notifier_block *self, | |||
77 | 77 | ||
78 | static void smp_send_nmi_allbutself(void) | 78 | static void smp_send_nmi_allbutself(void) |
79 | { | 79 | { |
80 | cpumask_t mask = cpu_online_map; | 80 | send_IPI_allbutself(NMI_VECTOR); |
81 | cpu_clear(safe_smp_processor_id(), mask); | ||
82 | if (!cpus_empty(mask)) | ||
83 | send_IPI_mask(mask, NMI_VECTOR); | ||
84 | } | 81 | } |
85 | 82 | ||
86 | static struct notifier_block crash_nmi_nb = { | 83 | static struct notifier_block crash_nmi_nb = { |