Date: Wed, 3 Nov 2010 15:38:52 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r214746 - in head/sys: kern sys Message-ID: <201011031538.oA3FcrvQ025429@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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). */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011031538.oA3FcrvQ025429>