summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGordon Willem Klok <gwk@cvs.openbsd.org>2007-03-23 16:44:39 +0000
committerGordon Willem Klok <gwk@cvs.openbsd.org>2007-03-23 16:44:39 +0000
commit4760f02e57586417cf6d7ec70e931d3fe5f5f104 (patch)
treed4516118d63d099fc0212718d93bf46f8491132a /sys
parent65a46bff133010759fadd89094ccbb6e28ea88f3 (diff)
Fix compiliation of MULTIPROCESSOR without DDB, being defined.
From: Mike Belopuhov <mkb AT crypt.org DOT ru>. ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/ipifuncs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/ipifuncs.c b/sys/arch/amd64/amd64/ipifuncs.c
index 76ee7273c72..7d7ac55a1c9 100644
--- a/sys/arch/amd64/amd64/ipifuncs.c
+++ b/sys/arch/amd64/amd64/ipifuncs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipifuncs.c,v 1.4 2007/02/01 20:39:42 art Exp $ */
+/* $OpenBSD: ipifuncs.c,v 1.5 2007/03/23 16:44:38 gwk Exp $ */
/* $NetBSD: ipifuncs.c,v 1.1 2003/04/26 18:39:28 fvdl Exp $ */
/*-
@@ -86,7 +86,11 @@ void (*ipifunc[X86_NIPI])(struct cpu_info *) =
pmap_do_tlb_shootdown,
x86_64_reload_mtrr,
gdt_reload_cpu,
+#ifdef DDB
x86_ipi_db,
+#else
+ NULL,
+#endif
};
void