Don't include i82489 headers in cpu.h
authorsf <sf@openbsd.org>
Thu, 15 Jan 2015 15:30:17 +0000 (15:30 +0000)
committersf <sf@openbsd.org>
Thu, 15 Jan 2015 15:30:17 +0000 (15:30 +0000)
Only pmap.c was not including them explicitly. Fix that.

"The direction is good" deraadt@

sys/arch/amd64/amd64/pmap.c
sys/arch/amd64/include/cpu.h

index 11a69b7..402c605 100644 (file)
@@ -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 $ */
 
 /*
 #include <machine/lock.h>
 #include <machine/cpu.h>
 #include <machine/specialreg.h>
+#ifdef MULTIPROCESSOR
+#include <machine/i82489reg.h>
+#include <machine/i82489var.h>
+#endif
+
 
 #include <dev/isa/isareg.h>
 #include <machine/isa_machdep.h>
index b06d58b..780948b 100644 (file)
@@ -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 $     */
 
 /*-
 #include <machine/segments.h>
 #include <machine/cacheinfo.h>
 #include <machine/intrdefs.h>
-
-#ifdef MULTIPROCESSOR
-#include <machine/i82489reg.h>
-#include <machine/i82489var.h>
-#endif
-
 #endif /* _KERNEL */
 
 #include <sys/device.h>