diff options
author | 2024-09-23 21:54:31 +0800 | |
---|---|---|
committer | 2024-09-23 05:24:12 -1000 | |
commit | 7ebd84d627e40cb9fb12b338588e81b6cca371e3 (patch) | |
tree | 341214a282cc9dc9e89b9376b7b27a987e4262b0 /drivers/usb/cdns3/cdns3-trace.c | |
parent | sched: Add dummy version of sched_group_set_idle() (diff) | |
download | wireguard-linux-7ebd84d627e40cb9fb12b338588e81b6cca371e3.tar.xz wireguard-linux-7ebd84d627e40cb9fb12b338588e81b6cca371e3.zip |
sched: Put task_group::idle under CONFIG_GROUP_SCHED_WEIGHT
When build with CONFIG_GROUP_SCHED_WEIGHT && !CONFIG_FAIR_GROUP_SCHED,
the idle member is not defined:
kernel/sched/ext.c:3701:16: error: 'struct task_group' has no member named 'idle'
3701 | if (!tg->idle)
| ^~
Fix this by putting 'idle' under new CONFIG_GROUP_SCHED_WEIGHT.
tj: Move idle field upward to avoid breaking up CONFIG_FAIR_GROUP_SCHED block.
Fixes: e179e80c5d4f ("sched: Introduce CONFIG_GROUP_SCHED_WEIGHT")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409220859.UiCAoFOW-lkp@intel.com/
Signed-off-by: Yu Liao <liaoyu15@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions