Commit 4437722b authored by Ingo Molnar's avatar Ingo Molnar

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: default avatarLinus 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: default avatarIngo Molnar <mingo@kernel.org>
parent b768917d
...@@ -1003,8 +1003,6 @@ extern void wake_q_add(struct wake_q_head *head, ...@@ -1003,8 +1003,6 @@ extern void wake_q_add(struct wake_q_head *head,
struct task_struct *task); struct task_struct *task);
extern void wake_up_q(struct wake_q_head *head); extern void wake_up_q(struct wake_q_head *head);
extern void wake_up_if_idle(int cpu);
struct io_context; /* See blkdev.h */ struct io_context; /* See blkdev.h */
......
...@@ -10,4 +10,6 @@ enum cpu_idle_type { ...@@ -10,4 +10,6 @@ enum cpu_idle_type {
CPU_MAX_IDLE_TYPES CPU_MAX_IDLE_TYPES
}; };
extern void wake_up_if_idle(int cpu);
#endif /* _LINUX_SCHED_IDLE_H */ #endif /* _LINUX_SCHED_IDLE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment