提交 676cb02d 编写于 作者: T Thomas Gleixner

softirqs: Make wakeup_softirqd static

No users outside of kernel/softirq.c
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 b30a3f62
...@@ -410,7 +410,6 @@ extern void softirq_init(void); ...@@ -410,7 +410,6 @@ extern void softirq_init(void);
#define __raise_softirq_irqoff(nr) do { or_softirq_pending(1UL << (nr)); } while (0) #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_irqoff(unsigned int nr);
extern void raise_softirq(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. /* This is the worklist that queues up per-cpu softirq work.
* *
......
...@@ -67,7 +67,7 @@ char *softirq_to_name[NR_SOFTIRQS] = { ...@@ -67,7 +67,7 @@ char *softirq_to_name[NR_SOFTIRQS] = {
* to the pending events, so lets the scheduler to balance * to the pending events, so lets the scheduler to balance
* the softirq load for us. * the softirq load for us.
*/ */
void wakeup_softirqd(void) static void wakeup_softirqd(void)
{ {
/* Interrupts are disabled: no need to stop preemption */ /* Interrupts are disabled: no need to stop preemption */
struct task_struct *tsk = __get_cpu_var(ksoftirqd); struct task_struct *tsk = __get_cpu_var(ksoftirqd);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册