diff options
| author | Ingo Molnar <[email protected]> | 2021-08-26 08:47:09 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2021-08-26 08:49:24 +0000 |
| commit | 366e7ad6ba5f4cb2ffd0b7316e404d6ee9c0f401 (patch) | |
| tree | acc4ce1973d66dfec544d7be36a573d7c6679a06 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | sched: Introduce dl_task_check_affinity() to check proposed affinity (diff) | |
| download | kernel-366e7ad6ba5f4cb2ffd0b7316e404d6ee9c0f401.tar.gz kernel-366e7ad6ba5f4cb2ffd0b7316e404d6ee9c0f401.zip | |
sched/fair: Mark tg_is_idle() an inline in the !CONFIG_FAIR_GROUP_SCHED case
It's not actually used in the !CONFIG_FAIR_GROUP_SCHED case:
kernel/sched/fair.c:488:12: warning: ‘tg_is_idle’ defined but not used [-Wunused-function]
Keep around a placeholder nevertheless, for API completeness. Mark it inline,
so the compiler doesn't think it must be used.
Fixes: 304000390f88: ("sched: Cgroup SCHED_IDLE support")
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Josh Don <[email protected]>
Cc: Peter Zijlstra (Intel) <[email protected]>
Cc: Vincent Guittot <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
