summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2004-05-29 01:18:14 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2004-05-29 01:18:14 +0000
commit7671b766a63e119f1cc7cc6561d25e9e20462992 (patch)
treeaf8593f19077aed02f67810030c5c51979d0ddaa
parent402705521a27059790f2742318d953693e7f39cf (diff)
Notes
-rw-r--r--sys/kern/subr_prof.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c
index 1797f7a38142..d2cfe65660e3 100644
--- a/sys/kern/subr_prof.c
+++ b/sys/kern/subr_prof.c
@@ -534,7 +534,8 @@ out:
PROC_UNLOCK(p);
}
-#if defined(__i386__) && __GNUC__ >= 2 && !defined(__INTEL_COMPILER)
+#if (defined(__amd64__) || defined(__i386__)) && __GNUC__ >= 2 && \
+ !defined(__INTEL_COMPILER)
/*
* Support for "--test-coverage --profile-arcs" in GCC.
*