diff options
author | bde <bde@FreeBSD.org> | 1998-05-01 16:40:21 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-01 16:40:21 +0000 |
commit | e5f7e85071da8970696b4425c9e3c4fe9f7d7076 (patch) | |
tree | 2de6193c9ad68f0410a7a7d3d14f7c22676b5f53 /sys/kern/subr_prof.c | |
parent | 004d5369f31edf63be2c9b9d130d294b4dca447b (diff) | |
download | FreeBSD-src-e5f7e85071da8970696b4425c9e3c4fe9f7d7076.zip FreeBSD-src-e5f7e85071da8970696b4425c9e3c4fe9f7d7076.tar.gz |
Oops, the previous commit should have changed `i386' to `__i386__',
not `__i386'.
Diffstat (limited to 'sys/kern/subr_prof.c')
-rw-r--r-- | sys/kern/subr_prof.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c index c674c58..80fda30 100644 --- a/sys/kern/subr_prof.c +++ b/sys/kern/subr_prof.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)subr_prof.c 8.3 (Berkeley) 9/23/93 - * $Id: subr_prof.c,v 1.24 1997/11/06 19:29:18 phk Exp $ + * $Id: subr_prof.c,v 1.25 1998/04/15 17:46:23 bde Exp $ */ #include <sys/param.h> @@ -161,7 +161,7 @@ kmstartup(dummy) startguprof(p); for (i = 0; i < CALIB_SCALE; i++) -#if defined(__i386) && __GNUC__ >= 2 +#if defined(__i386__) && __GNUC__ >= 2 __asm("pushl %0; call __mcount; popl %%ecx" : : "i" (profil) @@ -173,7 +173,7 @@ kmstartup(dummy) startguprof(p); for (i = 0; i < CALIB_SCALE; i++) -#if defined(__i386) && __GNUC__ >= 2 +#if defined(__i386__) && __GNUC__ >= 2 __asm("call mexitcount; 1:" : : : "ax", "bx", "cx", "dx", "memory"); __asm("movl $1b,%0" : "=rm" (tmp_addr)); |