mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
softirqs: Make wakeup_softirqd static
No users outside of kernel/softirq.c Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
b30a3f6257
commit
676cb02dc3
@ -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.
|
||||
*
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user