Re: [RFC PATCH 1/2] sched: Add dummy version of sched_group_set_idle()
From: Tejun Heo
Date: Mon Sep 23 2024 - 11:25:42 EST
On Mon, Sep 23, 2024 at 09:54:30PM +0800, Yu Liao wrote:
> Fix the following error when build with CONFIG_GROUP_SCHED_WEIGHT &&
> !CONFIG_FAIR_GROUP_SCHED:
>
> kernel/sched/core.c:9634:15: error: implicit declaration of function
> 'sched_group_set_idle'; did you mean 'scx_group_set_idle'? [-Wimplicit-function-declaration]
> 9634 | ret = sched_group_set_idle(css_tg(css), idle);
> | ^~~~~~~~~~~~~~~~~~~~
> | scx_group_set_idle
>
> Fixes: e179e80c5d4f ("sched: Introduce CONFIG_GROUP_SCHED_WEIGHT")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202409220859.UiCAoFOW-lkp@xxxxxxxxx/
> Signed-off-by: Yu Liao <liaoyu15@xxxxxxxxxx>
Applied to sched_ext/for-6.12.
Thanks.
--
tejun