diff options
author | Viresh Kumar <[email protected]> | 2018-11-05 16:51:55 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-11-12 06:17:52 +0100 |
commit | 1da1843f9f0334e2428308945d396ffecc2acfe1 (patch) | |
tree | 130afa62742c2b90671bd2e0e697b89d3aaeeda9 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b5c0ce7bd1848892e2930f481828b6d7750231ed (diff) |
sched/core: Create task_has_idle_policy() helper
We already have task_has_rt_policy() and task_has_dl_policy() helpers,
create task_has_idle_policy() as well and update sched core to start
using it.
While at it, use task_has_dl_policy() at one more place.
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vincent Guittot <[email protected]>
Link: http://lkml.kernel.org/r/ce3915d5b490fc81af926a3b6bfb775e7188e005.1541416894.git.viresh.kumar@linaro.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions