summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2013-07-28 18:44:17 +0000
committeravg <avg@FreeBSD.org>2013-07-28 18:44:17 +0000
commit4e6c4b2a3693b3ff3713bff0906a243d1acbc284 (patch)
tree4420aa26daa238558c6bb6511af95c82d7427921 /sys/amd64/include
parentc8737cbf1c0d4bef13135c8c3b4c38fa73c2ccfd (diff)
downloadFreeBSD-src-4e6c4b2a3693b3ff3713bff0906a243d1acbc284.zip
FreeBSD-src-4e6c4b2a3693b3ff3713bff0906a243d1acbc284.tar.gz
Revert r253748,253749
This WIP should not have been committed yet. Pointyhat to: avg
Diffstat (limited to 'sys/amd64/include')
-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 98b439f..1c2871f 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[];
OpenPOWER on IntegriCloud