diff options
author | marcel <marcel@FreeBSD.org> | 2010-07-01 00:30:35 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2010-07-01 00:30:35 +0000 |
commit | f9988e6402dfb9bb3fd2cf2639af41acd7e63828 (patch) | |
tree | 91a3386bbd2120ac9348ee8eb79532c57b5c70fb | |
parent | 88c7d17a4c34d41518aeb9bedabb00a0855261d5 (diff) | |
download | FreeBSD-src-f9988e6402dfb9bb3fd2cf2639af41acd7e63828.zip FreeBSD-src-f9988e6402dfb9bb3fd2cf2639af41acd7e63828.tar.gz |
When compiling with profiling, we define PROF for userspace and GPROF
for the kernel.
-rw-r--r-- | sys/ia64/include/asm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/include/asm.h b/sys/ia64/include/asm.h index 016bc87..4b4236d 100644 --- a/sys/ia64/include/asm.h +++ b/sys/ia64/include/asm.h @@ -43,7 +43,7 @@ /* * MCOUNT */ -#if defined(GPROF) +#if defined(PROF) || (defined(_KERNEL) && defined(GPROF)) #define MCOUNT \ alloc out0 = ar.pfs, 8, 0, 4, 0; \ mov out1 = r1; \ |