summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2013-07-28 18:32:27 +0000
committeravg <avg@FreeBSD.org>2013-07-28 18:32:27 +0000
commitea04b46439a6200a93c2e7792bb488de8ad3c05a (patch)
tree2b655d8ec95c44c4e2b7306d22d416c79486c73c /sys/ia64
parent425573ccba3b555a3407c9958714a764b5e7b609 (diff)
downloadFreeBSD-src-ea04b46439a6200a93c2e7792bb488de8ad3c05a.zip
FreeBSD-src-ea04b46439a6200a93c2e7792bb488de8ad3c05a.tar.gz
put contents of cpu.h under _KERNEL
no userland-serviceable parts inside MFC after: 20 days
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/include/cpu.h b/sys/ia64/include/cpu.h
index 9d7a936..35af766 100644
--- a/sys/ia64/include/cpu.h
+++ b/sys/ia64/include/cpu.h
@@ -44,12 +44,12 @@
#include <machine/frame.h>
+#ifdef _KERNEL
+
#define TRAPF_PC(tf) ((tf)->tf_special.iip)
#define TRAPF_CPL(tf) ((tf)->tf_special.psr & IA64_PSR_CPL)
#define TRAPF_USERMODE(tf) (TRAPF_CPL(tf) != IA64_PSR_CPL_KERN)
-#ifdef _KERNEL
-
#ifdef GPROF
extern char btext[];
extern char etext[];
OpenPOWER on IntegriCloud