From 57764700bce02ce53766d4039fd053c8e0a7bcdd Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Thu, 1 Jul 2010 00:30:35 +0000 Subject: [PATCH] When compiling with profiling, we define PROF for userspace and GPROF for the kernel. --- sys/ia64/include/asm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ia64/include/asm.h b/sys/ia64/include/asm.h index 016bc870f2f9..4b4236d7eda1 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; \