summaryrefslogtreecommitdiff
path: root/sys/arch/m68k
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2007-05-22 10:31:09 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2007-05-22 10:31:09 +0000
commit94b5522d1ef8e8fa325d0e87ea124b6d07ab3118 (patch)
tree19951996af359da953b49bac014da5ae0ec2a6dc /sys/arch/m68k
parenta1616d0c7557ac5600969d5e207207abdb07a744 (diff)
protect more variables from existing outside of locore, should fix
cpuinfo breakage (but my make build is still running) ok gwk@
Diffstat (limited to 'sys/arch/m68k')
-rw-r--r--sys/arch/m68k/include/cpu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/m68k/include/cpu.h b/sys/arch/m68k/include/cpu.h
index 88ae10d2472..9a88a3d80ea 100644
--- a/sys/arch/m68k/include/cpu.h
+++ b/sys/arch/m68k/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.16 2007/05/15 13:46:22 martin Exp $ */
+/* $OpenBSD: cpu.h,v 1.17 2007/05/22 10:31:08 martin Exp $ */
/* $NetBSD: cpu.h,v 1.3 1997/02/02 06:56:57 thorpej Exp $ */
/*
@@ -85,8 +85,6 @@ extern struct cpu_info cpu_info_store;
#define cpu_number() 0
-#endif /* !_LOCORE */
-
/*
* All m68k ports must provide these globals.
*/
@@ -94,7 +92,9 @@ extern int cputype; /* CPU on this host */
extern int ectype; /* external cache on this host */
extern int fputype; /* FPU on this host */
extern int mmutype; /* MMU on this host */
-#endif
+
+#endif /* !_LOCORE */
+#endif /* _KERNEL */
/* values for cputype */
#define CPU_68020 0 /* 68020 */