summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prof.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-07 19:09:10 +0000
committerphk <phk@FreeBSD.org>2003-01-07 19:09:10 +0000
commitae904cf0c0ebe3bcc7b45a424677fcc4f6030faa (patch)
tree1ff637b6ec54fd852bad98bdd63a3de8abc483f0 /sys/kern/subr_prof.c
parentdb74e87c2dcb58da63b72f52910212ace4c8406f (diff)
downloadFreeBSD-src-ae904cf0c0ebe3bcc7b45a424677fcc4f6030faa.zip
FreeBSD-src-ae904cf0c0ebe3bcc7b45a424677fcc4f6030faa.tar.gz
Fix warnings & errors caused by my last commit.
Diffstat (limited to 'sys/kern/subr_prof.c')
-rw-r--r--sys/kern/subr_prof.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c
index adb6147..4959595 100644
--- a/sys/kern/subr_prof.c
+++ b/sys/kern/subr_prof.c
@@ -157,7 +157,6 @@ kmstartup(dummy)
uintfptr_t tmp_addr;
#endif
- tcov_init();
/*
* Round lowpc and highpc to multiples of the density we're using
* so the rest of the scaling (here and in gprof) stays in ints.
@@ -563,7 +562,7 @@ tcov_init(void *foo __unused)
}
}
-SYSINIT(kmem, SI_SUB_KPROF, SI_ORDER_SECOND, tcov_init, NULL)
+SYSINIT(tcov_init, SI_SUB_KPROF, SI_ORDER_SECOND, tcov_init, NULL)
/*
* GCC contains magic to recognize calls to for instance execve() and
OpenPOWER on IntegriCloud