aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/cpu.h
diff options
context:
space:
mode:
authorsvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
committersvn2git <svn2git@FreeBSD.org>1994-05-01 08:00:00 +0000
commita16f65c7d117419bd266c28a1901ef129a337569 (patch)
tree2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /sys/i386/include/cpu.h
parent8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff)
This commit was manufactured to restore the state of the 1.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'sys/i386/include/cpu.h')
-rw-r--r--sys/i386/include/cpu.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h
index 80a2799bf09a..184f5b86151d 100644
--- a/sys/i386/include/cpu.h
+++ b/sys/i386/include/cpu.h
@@ -34,9 +34,12 @@
* SUCH DAMAGE.
*
* from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
- * $Id: cpu.h,v 1.3 1993/10/08 20:50:57 rgrimes Exp $
+ * $Id: cpu.h,v 1.4 1993/11/07 17:42:46 wollman Exp $
*/
+#ifndef _MACHINE_CPU_H_
+#define _MACHINE_CPU_H_ 1
+
/*
* Definitions unique to i386 cpu support.
*/
@@ -83,9 +86,6 @@ typedef struct intrframe clockframe;
#define aston() (astpending++)
-int astpending; /* need to trap before returning to user mode */
-int want_resched; /* resched() was called */
-
/*
* pull in #defines for kinds of processors
*/
@@ -97,7 +97,11 @@ struct cpu_nameclass {
};
#ifdef KERNEL
+extern int astpending; /* want a trap before returning to user mode */
+extern int want_resched; /* resched was called */
+
extern int cpu;
extern int cpu_class;
extern struct cpu_nameclass i386_cpus[];
#endif
+#endif /* _MACHINE_CPU_H_ */