diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2005-06-11 10:59:02 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2005-06-11 10:59:02 +0000 |
commit | f415d3086c79529b9fc989111bcbc8d0e03b05c5 (patch) | |
tree | cc5a84395ea25dff77f965b41075f7ddd16f3a2e /sys/powerpc | |
parent | 306b180d66894696f556a1750064802cb3bb7f71 (diff) | |
download | FreeBSD-src-f415d3086c79529b9fc989111bcbc8d0e03b05c5.zip FreeBSD-src-f415d3086c79529b9fc989111bcbc8d0e03b05c5.tar.gz |
Unbreak the PowerPC GENERIC build.
Reviewed by: delphij
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/include/profile.h | 8 |
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_ */ |