summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/cpu.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-09-18 21:37:56 +0000
committerbde <bde@FreeBSD.org>1994-09-18 21:37:56 +0000
commit89067f38ec0f3f1d039824f1c6c279bd440d205d (patch)
tree97b7f8e26992de526bda08b9f09325cdd45934d2 /sys/i386/include/cpu.h
parentf70621fc741d9b43b9f81ee55c0bedbd2127b8be (diff)
downloadFreeBSD-src-89067f38ec0f3f1d039824f1c6c279bd440d205d.zip
FreeBSD-src-89067f38ec0f3f1d039824f1c6c279bd440d205d.tar.gz
Clean up #includes. <machine/spl.h> has to be included by almost everything
in case an spl inline is used, so this is not the place to include it. Uniformize idempotency #ifdef.
Diffstat (limited to 'sys/i386/include/cpu.h')
-rw-r--r--sys/i386/include/cpu.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h
index e716c1c..b49d00b 100644
--- a/sys/i386/include/cpu.h
+++ b/sys/i386/include/cpu.h
@@ -34,18 +34,17 @@
* SUCH DAMAGE.
*
* from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
- * $Id: cpu.h,v 1.7 1994/08/13 03:49:48 wollman Exp $
+ * $Id: cpu.h,v 1.8 1994/09/16 01:05:24 ache Exp $
*/
#ifndef _MACHINE_CPU_H_
-#define _MACHINE_CPU_H_ 1
+#define _MACHINE_CPU_H_
/*
* Definitions unique to i386 cpu support.
*/
#include <machine/frame.h>
#include <machine/segments.h>
-#include <machine/spl.h>
/*
* definitions of cpu-dependent requirements
@@ -90,7 +89,7 @@
/*
* pull in #defines for kinds of processors
*/
-#include "machine/cputypes.h"
+#include <machine/cputypes.h>
struct cpu_nameclass {
char *cpu_name;
@@ -117,4 +116,5 @@ extern int cpu;
extern int cpu_class;
extern struct cpu_nameclass i386_cpus[];
#endif
-#endif /* _MACHINE_CPU_H_ */
+
+#endif /* !_MACHINE_CPU_H_ */
OpenPOWER on IntegriCloud