summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2010-11-03 15:38:52 +0000
committerjhb <jhb@FreeBSD.org>2010-11-03 15:38:52 +0000
commit177b41b47d00bee38872e7f187a336e26b8286fd (patch)
treeb36342517be5a295b621f8c69cc56dc1d0016de2 /sys/kern
parent88576008938a9baeffeba03f558f4d409d97ebae (diff)
downloadFreeBSD-src-177b41b47d00bee38872e7f187a336e26b8286fd.zip
FreeBSD-src-177b41b47d00bee38872e7f187a336e26b8286fd.tar.gz
Remove 'softclock_ih' as it is no longer used.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_timeout.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index f60af40..fa04087 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -214,8 +214,6 @@ kern_timeout_callwheel_init(void)
/*
* Start standard softclock thread.
*/
-void *softclock_ih;
-
static void
start_softclock(void *dummy)
{
@@ -226,9 +224,8 @@ start_softclock(void *dummy)
cc = CC_CPU(timeout_cpu);
if (swi_add(&clk_intr_event, "clock", softclock, cc, SWI_CLOCK,
- INTR_MPSAFE, &softclock_ih))
+ INTR_MPSAFE, &cc->cc_cookie))
panic("died while creating standard software ithreads");
- cc->cc_cookie = softclock_ih;
#ifdef SMP
CPU_FOREACH(cpu) {
if (cpu == timeout_cpu)
OpenPOWER on IntegriCloud