summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-20 23:33:49 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-09-22 10:15:42 +0200
commit676cb02dc32adef13d9efb5ea52079e4ede1e3ec (patch)
tree17e394a2ee1353779922fde0470fdacdd66b446c
parentb30a3f6257ed2105259b404d419b4964e363928c (diff)
downloadlinux-676cb02dc32adef13d9efb5ea52079e4ede1e3ec.tar.gz
linux-676cb02dc32adef13d9efb5ea52079e4ede1e3ec.tar.bz2
linux-676cb02dc32adef13d9efb5ea52079e4ede1e3ec.zip
softirqs: Make wakeup_softirqd static
No users outside of kernel/softirq.c Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--include/linux/interrupt.h1
-rw-r--r--kernel/softirq.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index a0384a4d1e6f..0a9141e69241 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -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.
*
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 07b4f1b1a73a..80f6e3bd1d2a 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -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);