diff options
author | marcel <marcel@FreeBSD.org> | 2004-08-27 19:20:42 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-08-27 19:20:42 +0000 |
commit | 38b1ee03e291d2bbfa8e8b720757694828d1f751 (patch) | |
tree | 29010a6cb3abeb9f73e3605cb7e291f58b7d2ff8 /sys/alpha | |
parent | 76ec9569930b8454056d9da3b809d4a6085b19f6 (diff) | |
download | FreeBSD-src-38b1ee03e291d2bbfa8e8b720757694828d1f751.zip FreeBSD-src-38b1ee03e291d2bbfa8e8b720757694828d1f751.tar.gz |
Provide extern declarations for btext and etext when GPROF is defined.
These are referenced in subr_prof.c when building a profiling kernel.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/include/cpu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/alpha/include/cpu.h b/sys/alpha/include/cpu.h index 64dc773b2..9857730 100644 --- a/sys/alpha/include/cpu.h +++ b/sys/alpha/include/cpu.h @@ -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 |