summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/include/cpu.h')
-rw-r--r--sys/i386/include/cpu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h
index c2e08a0..5bc9f5c 100644
--- a/sys/i386/include/cpu.h
+++ b/sys/i386/include/cpu.h
@@ -43,8 +43,6 @@
#include <machine/frame.h>
#include <machine/segments.h>
-#ifdef _KERNEL
-
#define cpu_exec(p) /* nothing */
#define cpu_swapin(p) /* nothing */
#define cpu_getstack(td) ((td)->td_frame->tf_esp)
@@ -55,6 +53,7 @@
((ISPL((framep)->tf_cs) == SEL_UPL) || ((framep)->tf_eflags & PSL_VM))
#define TRAPF_PC(framep) ((framep)->tf_eip)
+#ifdef _KERNEL
extern char btext[];
extern char etext[];
OpenPOWER on IntegriCloud