MFia64:
When compiling with profiling, we define PROF for userspace and GPROF for the kernel.
This commit is contained in:
parent
9fe1156f87
commit
5ae8018177
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user