From: Johnlay Park Date: Wed, 28 Feb 2018 03:59:36 +0000 (+0900) Subject: [COMMON] sched/rt: Enable config for change sched group X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a08bd1b8a97bd053181a1fbc2c0da2e6ba3d817e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] sched/rt: Enable config for change sched group Change-Id: I3212ac413dbb8dad7e4c89aae1684f65d93e09f9 Signed-off-by: Johnlay Park --- diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 847bdfbd65f4..b465fb25a7e8 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -6294,7 +6294,7 @@ static void sched_change_group(struct task_struct *tsk, int type) tg = autogroup_task_group(tsk, tg); tsk->sched_task_group = tg; -#ifdef CONFIG_FAIR_GROUP_SCHED +#if defined(CONFIG_FAIR_GROUP_SCHED) || defined(CONFIG_RT_GROUP_SCHED) if (tsk->sched_class->task_change_group) tsk->sched_class->task_change_group(tsk, type); else