]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
softirqs: Make wakeup_softirqd static
authorThomas Gleixner <tglx@linutronix.de>
Mon, 20 Jul 2009 21:33:49 +0000 (23:33 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 22 Sep 2010 08:15:42 +0000 (10:15 +0200)
No users outside of kernel/softirq.c

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/interrupt.h
kernel/softirq.c

index a0384a4d1e6f4da4d39a02c0f8ba6634842dd236..0a9141e69241515fbe50be6630b970d4bc6f6622 100644 (file)
@@ -410,7 +410,6 @@ extern void softirq_init(void);
 #define __raise_softirq_irqoff(nr) do { or_softirq_pending(1UL << (nr)); } while (0)
 extern void raise_softirq_irqoff(unsigned int nr);
 extern void raise_softirq(unsigned int nr);
-extern void wakeup_softirqd(void);
 
 /* This is the worklist that queues up per-cpu softirq work.
  *
index 07b4f1b1a73a9b6a309a3e7fe249c813007b5d17..80f6e3bd1d2a8b7181f2e5026d720382a67b7ef9 100644 (file)
@@ -67,7 +67,7 @@ char *softirq_to_name[NR_SOFTIRQS] = {
  * to the pending events, so lets the scheduler to balance
  * the softirq load for us.
  */
-void wakeup_softirqd(void)
+static void wakeup_softirqd(void)
 {
        /* Interrupts are disabled: no need to stop preemption */
        struct task_struct *tsk = __get_cpu_var(ksoftirqd);