Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1576842 > unrolled thread
| Started by | Ingo Molnar <mingo@kernel.org> |
|---|---|
| First post | 2017-02-08 19:50 +0100 |
| Last post | 2017-02-08 19:50 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 03/53] sched/headers: Move the wake_up_if_idle() prototype to <linux/sched/idle.h> Ingo Molnar <mingo@kernel.org> - 2017-02-08 19:50 +0100
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Date | 2017-02-08 19:50 +0100 |
| Subject | [PATCH 03/53] sched/headers: Move the wake_up_if_idle() prototype to <linux/sched/idle.h> |
| Message-ID | <t8Ftx-3Sf-51@gated-at.bofh.it> |
No need to clutter <linux/sched.h> with this rarely used prototype.
Cc: 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>
---
include/linux/sched.h | 2 --
include/linux/sched/idle.h | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index f1b11d5815a4..0862d5b72d00 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1007,8 +1007,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 */
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 */
--
2.7.4
Back to top | Article view | linux.kernel
csiph-web