mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Provide extern declarations for btext and etext when GPROF is defined.
These are referenced in subr_prof.c when building a profiling kernel.
This commit is contained in:
parent
f697dffaa4
commit
e50cb9b07f
1 changed files with 5 additions and 0 deletions
|
|
@ -92,6 +92,11 @@ struct clockframe {
|
|||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#ifdef GPROF
|
||||
extern char btext[];
|
||||
extern char etext[];
|
||||
#endif
|
||||
|
||||
#define cpu_getstack(td) (alpha_pal_rdusp())
|
||||
#define cpu_spinwait() /* nothing */
|
||||
#define get_cyclecount alpha_rpcc
|
||||
|
|
|
|||
Loading…
Reference in a new issue