summaryrefslogtreecommitdiff
path: root/sys/kern/subr_prof.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-05-01 16:40:21 +0000
committerBruce Evans <bde@FreeBSD.org>1998-05-01 16:40:21 +0000
commit77849078bf74ba96629f4eec2b2f7eea56123961 (patch)
tree29c8a0cf933effb2dc8a64ae5f731f1b6b3d07a1 /sys/kern/subr_prof.c
parent809e3a8464b7ba117b48e6bcfd2109e840a56873 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_prof.c')
-rw-r--r--sys/kern/subr_prof.c6
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));