sched/headers: Move the wake_up_if_idle() prototype to <linux/sched/idle.h>

No need to clutter <linux/sched.h> with this rarely used prototype.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
Ingo Molnar 2017-02-01 16:58:52 +01:00
parent b768917d2c
commit 4437722b04
2 changed files with 2 additions and 2 deletions

View File

@ -1003,8 +1003,6 @@ extern void wake_q_add(struct wake_q_head *head,
struct task_struct *task);
extern void wake_up_q(struct wake_q_head *head);
extern void wake_up_if_idle(int cpu);
struct io_context; /* See blkdev.h */

View File

@ -10,4 +10,6 @@ enum cpu_idle_type {
CPU_MAX_IDLE_TYPES
};
extern void wake_up_if_idle(int cpu);
#endif /* _LINUX_SCHED_IDLE_H */