summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1797f7a..d2cfe65 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.
*
OpenPOWER on IntegriCloud