summaryrefslogtreecommitdiff
path: root/include/linux/sched/idle.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-01 16:58:52 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-02 08:42:41 +0100
commit4437722b0486c36dc90a1adf584fca4cea6cf1de (patch)
treeab2589ba39bb4320653414048dd4ed5f06b83684 /include/linux/sched/idle.h
parentb768917d2c08edc4b5616c86a569e524d190434b (diff)
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/idle.h')
-rw-r--r--include/linux/sched/idle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched/idle.h b/include/linux/sched/idle.h
index 6aabc9968cba..72b6b6ab6354 100644
--- a/include/linux/sched/idle.h
+++ b/include/linux/sched/idle.h
@@ -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 */