Date: Thu, 1 Jul 2010 03:48:45 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r209621 - head/sys/powerpc/include Message-ID: <201007010348.o613mjLW049654@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcel Date: Thu Jul 1 03:48:45 2010 New Revision: 209621 URL: http://svn.freebsd.org/changeset/base/209621 Log: MFia64: When compiling with profiling, we define PROF for userspace and GPROF for the kernel. Modified: head/sys/powerpc/include/asm.h Modified: head/sys/powerpc/include/asm.h ============================================================================== --- head/sys/powerpc/include/asm.h Thu Jul 1 00:48:00 2010 (r209620) +++ head/sys/powerpc/include/asm.h Thu Jul 1 03:48:45 2010 (r209621) @@ -63,7 +63,7 @@ #define _ENTRY(x) \ .text; .align 4; .globl x; .type x,@function; x: -#ifdef PROF +#if defined(PROF) || (defined(_KERNEL) && defined(GPROF)) # define _PROF_PROLOGUE mflr 0; stw 0,4(1); bl _mcount #else # define _PROF_PROLOGUE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007010348.o613mjLW049654>