summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
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/sparc64
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/sparc64')
-rw-r--r--sys/sparc64/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/include/cpu.h b/sys/sparc64/include/cpu.h
index cd23578..401f39b 100644
--- a/sys/sparc64/include/cpu.h
+++ b/sys/sparc64/include/cpu.h
@@ -40,8 +40,6 @@
#include <machine/frame.h>
#include <machine/tstate.h>
-#ifdef _KERNEL
-
#define TRAPF_PC(tfp) ((tfp)->tf_tpc)
#define TRAPF_USERMODE(tfp) (((tfp)->tf_tstate & TSTATE_PRIV) == 0)
@@ -49,6 +47,8 @@
#define cpu_setstack(td, sp) ((td)->td_frame->tf_sp = (sp))
#define cpu_spinwait() /* nothing */
+#ifdef _KERNEL
+
extern char btext[];
extern char etext[];
OpenPOWER on IntegriCloud