summaryrefslogtreecommitdiff
path: root/sys/powerpc/include
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2005-06-11 10:59:02 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2005-06-11 10:59:02 +0000
commit89ec08eebf8c37adf22419feb9fcf64e50f04091 (patch)
treecc5a84395ea25dff77f965b41075f7ddd16f3a2e /sys/powerpc/include
parentd6dbf760a650db7d20fd50e89dbab17c61ff6513 (diff)
Notes
Diffstat (limited to 'sys/powerpc/include')
-rw-r--r--sys/powerpc/include/profile.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/powerpc/include/profile.h b/sys/powerpc/include/profile.h
index 57e0539718bb..a592bcde2457 100644
--- a/sys/powerpc/include/profile.h
+++ b/sys/powerpc/include/profile.h
@@ -37,7 +37,6 @@
#define FUNCTION_ALIGNMENT 16
typedef u_int fptrdiff_t;
-typedef u_int uintfptr_t;
#define MCOUNT \
void \
@@ -63,6 +62,11 @@ void user(void);
((pc >= (uintfptr_t)bintr) ? (uintfptr_t)bintr : \
(uintfptr_t)btrap) : ~0U)
-#endif
+
+#else /* !_KERNEL */
+
+typedef u_int uintfptr_t;
+
+#endif /* _KERNEL */
#endif /* !_MACHINE_PROFILE_H_ */