aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/cpu.h
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2013-07-28 18:32:27 +0000
committerAndriy Gapon <avg@FreeBSD.org>2013-07-28 18:32:27 +0000
commit366d8bfb7b4d810f097bc41e7ed14d6d4bd3694b (patch)
tree2b655d8ec95c44c4e2b7306d22d416c79486c73c /sys/amd64/include/cpu.h
parenta69e8d609ef8355a8ec9bcb5bd22ca378d2a9eac (diff)
Notes
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r--sys/amd64/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h
index 1c2871f6dc10..98b439f8afa5 100644
--- a/sys/amd64/include/cpu.h
+++ b/sys/amd64/include/cpu.h
@@ -36,6 +36,8 @@
#ifndef _MACHINE_CPU_H_
#define _MACHINE_CPU_H_
+#ifdef _KERNEL
+
/*
* Definitions unique to i386 cpu support.
*/
@@ -53,7 +55,6 @@
(ISPL((framep)->tf_cs) == SEL_UPL)
#define TRAPF_PC(framep) ((framep)->tf_rip)
-#ifdef _KERNEL
extern char btext[];
extern char etext[];