mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
MFia64:
When compiling with profiling, we define PROF for userspace and GPROF for the kernel.
This commit is contained in:
parent
af448c52e4
commit
dc54fa1d55
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue