aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/cpu.h
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2013-07-28 18:44:17 +0000
committerAndriy Gapon <avg@FreeBSD.org>2013-07-28 18:44:17 +0000
commita29cc9a34bac9ea5146592493272585bdf8333e0 (patch)
tree4420aa26daa238558c6bb6511af95c82d7427921 /sys/amd64/include/cpu.h
parentc722ec3a5151fdba885b451d2a50a58f327ff994 (diff)
downloadsrc-a29cc9a34bac9ea5146592493272585bdf8333e0.tar.gz
src-a29cc9a34bac9ea5146592493272585bdf8333e0.zip
Revert r253748,253749
This WIP should not have been committed yet. Pointyhat to: avg
Notes
Notes: svn path=/head/; revision=253750
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r--sys/amd64/include/cpu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h
index 98b439f8afa5..1c2871f6dc10 100644
--- a/sys/amd64/include/cpu.h
+++ b/sys/amd64/include/cpu.h
@@ -36,8 +36,6 @@
#ifndef _MACHINE_CPU_H_
#define _MACHINE_CPU_H_
-#ifdef _KERNEL
-
/*
* Definitions unique to i386 cpu support.
*/
@@ -55,6 +53,7 @@
(ISPL((framep)->tf_cs) == SEL_UPL)
#define TRAPF_PC(framep) ((framep)->tf_rip)
+#ifdef _KERNEL
extern char btext[];
extern char etext[];