From a08bd1b8a97bd053181a1fbc2c0da2e6ba3d817e Mon Sep 17 00:00:00 2001 From: Johnlay Park Date: Wed, 28 Feb 2018 12:59:36 +0900 Subject: [PATCH] [COMMON] sched/rt: Enable config for change sched group Change-Id: I3212ac413dbb8dad7e4c89aae1684f65d93e09f9 Signed-off-by: Johnlay Park --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1