summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-04-25 22:18:21 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-04-25 22:18:21 +0000
commit9a4e6dd3e4627498830b1202bf446c8df94f700b (patch)
tree42b67c43b4f90bd33d0000190f740f1faf570cfd /sys
parent9b937e7a783db041ee1283610937f2890cf2be53 (diff)
<m68k/cpu.h> should be included when this <machine/cpu.h> is included from
userland, for example from libkvm; found the hard way be deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme68k/include/cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/include/cpu.h b/sys/arch/mvme68k/include/cpu.h
index d005b7e7b17..c294452da6c 100644
--- a/sys/arch/mvme68k/include/cpu.h
+++ b/sys/arch/mvme68k/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.10 2002/04/23 08:04:14 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.11 2002/04/25 22:18:20 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -89,14 +89,14 @@
{ "console_device", CTLTYPE_STRUCT }, \
}
-#ifdef _KERNEL
-
/*
* Get common m68k CPU definiti÷ns.
*/
#define M68K_MMU_MOTOROLA
#include <m68k/cpu.h>
+#ifdef _KERNEL
+
/*
* Get interrupt glue.
*/