svn commit: r214746 - in head/sys: kern sys
John Baldwin
jhb at FreeBSD.org
Wed Nov 3 15:38:53 UTC 2010
Author: jhb
Date: Wed Nov 3 15:38:52 2010
New Revision: 214746
URL: http://svn.freebsd.org/changeset/base/214746
Log:
Remove 'softclock_ih' as it is no longer used.
Modified:
head/sys/kern/kern_timeout.c
head/sys/sys/interrupt.h
Modified: head/sys/kern/kern_timeout.c
==============================================================================
--- head/sys/kern/kern_timeout.c Wed Nov 3 15:31:37 2010 (r214745)
+++ head/sys/kern/kern_timeout.c Wed Nov 3 15:38:52 2010 (r214746)
@@ -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)
Modified: head/sys/sys/interrupt.h
==============================================================================
--- head/sys/sys/interrupt.h Wed Nov 3 15:31:37 2010 (r214745)
+++ head/sys/sys/interrupt.h Wed Nov 3 15:38:52 2010 (r214746)
@@ -146,7 +146,6 @@ struct proc;
extern struct intr_event *tty_intr_event;
extern struct intr_event *clk_intr_event;
-extern void *softclock_ih;
extern void *vm_ih;
/* Counts and names for statistics (defined in MD code). */
More information about the svn-src-head
mailing list