summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prof.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-10-27 17:23:18 +0000
committerbde <bde@FreeBSD.org>1997-10-27 17:23:18 +0000
commitaf87f94a9c03ab34b0ccd5db7eefc2241780c97e (patch)
treeb4a7fdf1db88f62b6f999666172dab04ac3b57d8 /sys/kern/subr_prof.c
parent059c792df99d8fd6b8a3ef5c4cf0499dfa65a16d (diff)
downloadFreeBSD-src-af87f94a9c03ab34b0ccd5db7eefc2241780c97e.zip
FreeBSD-src-af87f94a9c03ab34b0ccd5db7eefc2241780c97e.tar.gz
Moved declaration of etext from <machine/md_var.h> to <machine/cpu.h>
and fixed everything that dependended on it being declared in the old place. It is used in "machine-independent" code in subr_prof.c. Moved declaration of btext from subr_prof.c to <machine/cpu.h>. It is machine-dependent.
Diffstat (limited to 'sys/kern/subr_prof.c')
-rw-r--r--sys/kern/subr_prof.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c
index 9788da6..c81364b 100644
--- a/sys/kern/subr_prof.c
+++ b/sys/kern/subr_prof.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)subr_prof.c 8.3 (Berkeley) 9/23/93
- * $Id: subr_prof.c,v 1.21 1997/10/11 18:31:24 phk Exp $
+ * $Id: subr_prof.c,v 1.22 1997/10/12 20:24:00 phk Exp $
*/
#include <sys/param.h>
@@ -55,9 +55,6 @@ SYSINIT(kmem, SI_SUB_KPROF, SI_ORDER_FIRST, kmstartup, NULL)
struct gmonparam _gmonparam = { GMON_PROF_OFF };
-extern char btext[];
-extern char etext[];
-
#ifdef GUPROF
void
nullfunc_loop_profiled()
OpenPOWER on IntegriCloud