Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1574769 > unrolled thread
| Started by | Ingo Molnar <mingo@kernel.org> |
|---|---|
| First post | 2017-02-06 15:00 +0100 |
| Last post | 2017-02-06 15:00 +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 17/89] sched/idle: Remove tsk_is_polling() Ingo Molnar <mingo@kernel.org> - 2017-02-06 15:00 +0100
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Date | 2017-02-06 15:00 +0100 |
| Subject | [PATCH 17/89] sched/idle: Remove tsk_is_polling() |
| Message-ID | <t7RZM-5F5-27@gated-at.bofh.it> |
It's not used by anything.
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
include/linux/sched/idle.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/linux/sched/idle.h b/include/linux/sched/idle.h
index 0c15c7ed906f..dabd62394af4 100644
--- a/include/linux/sched/idle.h
+++ b/include/linux/sched/idle.h
@@ -15,10 +15,6 @@ extern void wake_up_if_idle(int cpu);
* polling state.
*/
#ifdef TIF_POLLING_NRFLAG
-static inline int tsk_is_polling(struct task_struct *p)
-{
- return test_tsk_thread_flag(p, TIF_POLLING_NRFLAG);
-}
static inline void __current_set_polling(void)
{
@@ -57,7 +53,6 @@ static inline bool __must_check current_clr_polling_and_test(void)
}
#else
-static inline int tsk_is_polling(struct task_struct *p) { return 0; }
static inline void __current_set_polling(void) { }
static inline void __current_clr_polling(void) { }
--
2.7.4
Back to top | Article view | linux.kernel
csiph-web