summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-10-21 07:21:19 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-10-21 07:21:19 +0000
commit4cc999b24cfd4161e9302aa7712c76dd91fece71 (patch)
treebd965a2e8e68a347f3a1a06609b66e92a3585d42 /sys/arch/i386
parent116ce841b0cf38330e4a68967b368eafbba6fe77 (diff)
remove unneeded includes
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/locore.s7
-rw-r--r--sys/arch/i386/i386/locore0.S12
2 files changed, 2 insertions, 17 deletions
diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s
index feb8fa4edae..d3d04c50ba4 100644
--- a/sys/arch/i386/i386/locore.s
+++ b/sys/arch/i386/i386/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.205 2024/06/06 00:36:46 bluhm Exp $ */
+/* $OpenBSD: locore.s,v 1.206 2024/10/21 07:21:18 jsg Exp $ */
/* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */
/*-
@@ -38,23 +38,18 @@
#include "npx.h"
#include "assym.h"
-#include "apm.h"
#include "lapic.h"
-#include "ksyms.h"
#include <sys/errno.h>
#include <sys/syscall.h>
#include <machine/codepatch.h>
-#include <machine/cputypes.h>
#include <machine/param.h>
#include <machine/pte.h>
#include <machine/segments.h>
#include <machine/specialreg.h>
#include <machine/trap.h>
-#include <dev/isa/isareg.h>
-
#if NLAPIC > 0
#include <machine/i82489reg.h>
#endif
diff --git a/sys/arch/i386/i386/locore0.S b/sys/arch/i386/i386/locore0.S
index c2883e52e5b..f82e36fdf5d 100644
--- a/sys/arch/i386/i386/locore0.S
+++ b/sys/arch/i386/i386/locore0.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore0.S,v 1.11 2023/07/21 04:04:52 guenther Exp $ */
+/* $OpenBSD: locore0.S,v 1.12 2024/10/21 07:21:18 jsg Exp $ */
/* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */
/*-
@@ -36,22 +36,12 @@
* @(#)locore.s 7.3 (Berkeley) 5/13/91
*/
-#include "npx.h"
#include "assym.h"
-#include "apm.h"
-#include "lapic.h"
#include "ksyms.h"
-#include <sys/errno.h>
-#include <sys/syscall.h>
-
-#include <machine/codepatch.h>
-#include <machine/cputypes.h>
#include <machine/param.h>
#include <machine/pte.h>
-#include <machine/segments.h>
#include <machine/specialreg.h>
-#include <machine/trap.h>
#include <dev/isa/isareg.h>