diff options
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 c674c58193dd..80fda300f6da 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)); |
