From f415d3086c79529b9fc989111bcbc8d0e03b05c5 Mon Sep 17 00:00:00 2001 From: jkoshy Date: Sat, 11 Jun 2005 10:59:02 +0000 Subject: Unbreak the PowerPC GENERIC build. Reviewed by: delphij --- sys/powerpc/include/profile.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/powerpc/include/profile.h') 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_ */ -- cgit v1.1