summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/profile.h
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2005-06-11 10:59:02 +0000
committerjkoshy <jkoshy@FreeBSD.org>2005-06-11 10:59:02 +0000
commitf415d3086c79529b9fc989111bcbc8d0e03b05c5 (patch)
treecc5a84395ea25dff77f965b41075f7ddd16f3a2e /sys/powerpc/include/profile.h
parent306b180d66894696f556a1750064802cb3bb7f71 (diff)
downloadFreeBSD-src-f415d3086c79529b9fc989111bcbc8d0e03b05c5.zip
FreeBSD-src-f415d3086c79529b9fc989111bcbc8d0e03b05c5.tar.gz
Unbreak the PowerPC GENERIC build.
Reviewed by: delphij
Diffstat (limited to 'sys/powerpc/include/profile.h')
-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 57e0539..a592bcd 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_ */
OpenPOWER on IntegriCloud