diff options
author | Peter Zijlstra | 2022-09-06 12:33:04 +0200 |
---|---|---|
committer | Peter Zijlstra | 2022-09-07 21:53:47 +0200 |
commit | 0b9d46fc5ef7a457cc635b30b010081228cb81ac (patch) | |
tree | 715488f2910738159a840633ae1f5ba412805980 /kernel/power | |
parent | 96c1c0cfe493a7ed549169a6f044bbb83e490fb5 (diff) |
sched: Rename task_running() to task_on_cpu()
There is some ambiguity about task_running() in that it is unrelated
to TASK_RUNNING but instead tests ->on_cpu. As such, rename the thing
task_on_cpu().
Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/Yxhkhn55uHZx+NGl@hirez.programming.kicks-ass.net
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions