From: sf Date: Thu, 15 Jan 2015 15:30:17 +0000 (+0000) Subject: Don't include i82489 headers in cpu.h X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e390af8cab883147a1fd33148cdde3b1e95944ad;p=openbsd Don't include i82489 headers in cpu.h Only pmap.c was not including them explicitly. Fix that. "The direction is good" deraadt@ --- diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c index 11a69b75e98..402c6055e6f 100644 --- a/sys/arch/amd64/amd64/pmap.c +++ b/sys/arch/amd64/amd64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.84 2015/01/06 00:38:32 dlg Exp $ */ +/* $OpenBSD: pmap.c,v 1.85 2015/01/15 15:30:17 sf Exp $ */ /* $NetBSD: pmap.c,v 1.3 2003/05/08 18:13:13 thorpej Exp $ */ /* @@ -117,6 +117,11 @@ #include #include #include +#ifdef MULTIPROCESSOR +#include +#include +#endif + #include #include diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h index b06d58bc096..780948bed4a 100644 --- a/sys/arch/amd64/include/cpu.h +++ b/sys/arch/amd64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.89 2015/01/06 12:50:48 dlg Exp $ */ +/* $OpenBSD: cpu.h,v 1.90 2015/01/15 15:30:17 sf Exp $ */ /* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */ /*- @@ -46,12 +46,6 @@ #include #include #include - -#ifdef MULTIPROCESSOR -#include -#include -#endif - #endif /* _KERNEL */ #include