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). */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to