aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-20 17:33:49 -0400
committerThomas Gleixner <tglx@linutronix.de>2010-09-22 04:15:42 -0400
commit676cb02dc32adef13d9efb5ea52079e4ede1e3ec (patch)
tree17e394a2ee1353779922fde0470fdacdd66b446c
parentb30a3f6257ed2105259b404d419b4964e363928c (diff)
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);
410#define __raise_softirq_irqoff(nr) do { or_softirq_pending(1UL << (nr)); } while (0) 410#define __raise_softirq_irqoff(nr) do { or_softirq_pending(1UL << (nr)); } while (0)
411extern void raise_softirq_irqoff(unsigned int nr); 411extern void raise_softirq_irqoff(unsigned int nr);
412extern void raise_softirq(unsigned int nr); 412extern void raise_softirq(unsigned int nr);
413extern void wakeup_softirqd(void);
414 413
415/* This is the worklist that queues up per-cpu softirq work. 414/* This is the worklist that queues up per-cpu softirq work.
416 * 415 *
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] = {
67 * to the pending events, so lets the scheduler to balance 67 * to the pending events, so lets the scheduler to balance
68 * the softirq load for us. 68 * the softirq load for us.
69 */ 69 */
70void wakeup_softirqd(void) 70static void wakeup_softirqd(void)
71{ 71{
72 /* Interrupts are disabled: no need to stop preemption */ 72 /* Interrupts are disabled: no need to stop preemption */
73 struct task_struct *tsk = __get_cpu_var(ksoftirqd); 73 struct task_struct *tsk = __get_cpu_var(ksoftirqd);