diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-20 14:09:33 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-20 14:09:33 +0000 |
commit | b6a996d83db42a2b0644fd6c02f445c26e2ee3ab (patch) | |
tree | 3cf61a36b50740248f7cef900c0761279815c8e5 /sys/sparc64 | |
parent | cf1800bd88958ac38be4fab6259b019fe1d8793c (diff) | |
download | FreeBSD-src-b6a996d83db42a2b0644fd6c02f445c26e2ee3ab.zip FreeBSD-src-b6a996d83db42a2b0644fd6c02f445c26e2ee3ab.tar.gz |
Fix compile in the case of SMP defined but DDB not defined.
Approved by: re (implicit, DP2 doesn't build w/o this)
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/mp_machdep.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/mp_machdep.c b/sys/sparc64/sparc64/mp_machdep.c index 87700ed..dba9717 100644 --- a/sys/sparc64/sparc64/mp_machdep.c +++ b/sys/sparc64/sparc64/mp_machdep.c @@ -55,6 +55,8 @@ * $FreeBSD$ */ +#include "opt_ddb.h" + #include <sys/param.h> #include <sys/systm.h> #include <sys/lock.h> @@ -455,7 +457,11 @@ cpu_ipi_send(u_int mid, u_long d0, u_long d1, u_long d2) if ((ldxa(0, ASI_INTR_DISPATCH_STATUS) & IDR_NACK) == 0) return; } - if (db_active || panicstr != NULL) + if ( +#ifdef DDB + db_active || +#endif + panicstr != NULL) printf("ipi_send: couldn't send ipi to module %u\n", mid); else panic("ipi_send: couldn't send ipi"); |