diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-01 16:58:52 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 08:42:41 +0100 |
commit | 4437722b0486c36dc90a1adf584fca4cea6cf1de (patch) | |
tree | ab2589ba39bb4320653414048dd4ed5f06b83684 /include/linux/sched.h | |
parent | b768917d2c08edc4b5616c86a569e524d190434b (diff) | |
download | op-kernel-dev-4437722b0486c36dc90a1adf584fca4cea6cf1de.zip op-kernel-dev-4437722b0486c36dc90a1adf584fca4cea6cf1de.tar.gz |
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>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 8a8252e..c30705c 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -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 */ |