aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/x86/x86/mp_x86.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/x86/x86/mp_x86.c b/sys/x86/x86/mp_x86.c
index 493017e303e3..c0da41a4d222 100644
--- a/sys/x86/x86/mp_x86.c
+++ b/sys/x86/x86/mp_x86.c
@@ -1425,6 +1425,9 @@ ipi_all_but_self(u_int ipi)
cpuset_t other_cpus;
int cpu, c;
+ if (mp_ncpus == 1)
+ return;
+
/*
* IPI_STOP_HARD maps to a NMI and the trap handler needs a bit
* of help in order to understand what is the source.