From 4760f02e57586417cf6d7ec70e931d3fe5f5f104 Mon Sep 17 00:00:00 2001 From: Gordon Willem Klok Date: Fri, 23 Mar 2007 16:44:39 +0000 Subject: Fix compiliation of MULTIPROCESSOR without DDB, being defined. From: Mike Belopuhov . ok kettenis@ --- sys/arch/amd64/amd64/ipifuncs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys') 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 -- cgit v1.2.3