diff options
-rw-r--r-- | arch/i386/kernel/crash.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/i386/kernel/crash.c b/arch/i386/kernel/crash.c index 2dfc049dafa3..144b43288965 100644 --- a/arch/i386/kernel/crash.c +++ b/arch/i386/kernel/crash.c | |||
@@ -134,7 +134,10 @@ static int crash_nmi_callback(struct notifier_block *self, | |||
134 | 134 | ||
135 | static void smp_send_nmi_allbutself(void) | 135 | static void smp_send_nmi_allbutself(void) |
136 | { | 136 | { |
137 | send_IPI_allbutself(NMI_VECTOR); | 137 | cpumask_t mask = cpu_online_map; |
138 | cpu_clear(safe_smp_processor_id(), mask); | ||
139 | if (!cpus_empty(mask)) | ||
140 | send_IPI_mask(mask, NMI_VECTOR); | ||
138 | } | 141 | } |
139 | 142 | ||
140 | static struct notifier_block crash_nmi_nb = { | 143 | static struct notifier_block crash_nmi_nb = { |