1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00: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:
Marcel Moolenaar 2004-08-27 19:20:42 +00:00
parent f697dffaa4
commit e50cb9b07f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134395

View File

@ -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