aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_prof.c
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 /sys/kern/subr_prof.c
parent402705521a27059790f2742318d953693e7f39cf (diff)
downloadsrc-7671b766a63e119f1cc7cc6561d25e9e20462992.tar.gz
src-7671b766a63e119f1cc7cc6561d25e9e20462992.zip
Enable MI bits for gcc -ftest-coverage -fprofile-arcs on amd64.
Notes
Notes: svn path=/head/; revision=129826
Diffstat (limited to 'sys/kern/subr_prof.c')
-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.
*