From d3e1802b11df9a11cb4042137f149083f422a84f Mon Sep 17 00:00:00 2001 From: Sai Harshini Nimmala Date: Thu, 14 Oct 2021 16:39:17 -0700 Subject: [PATCH] sched_walt: Change from MAX_USER_RT_PRIO to MAX_RT_PRIO Upstream has done away with the MAX_USER_RT_PRIO macro. Reflect these changes downstream. Change-Id: I836bcae569af2e98db5cfc1330d04c80c5e68563 Signed-off-by: Sai Harshini Nimmala --- kernel/sched/walt/cpufreq_walt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/walt/cpufreq_walt.c b/kernel/sched/walt/cpufreq_walt.c index 689a4d3e080e..689f47fe5d35 100644 --- a/kernel/sched/walt/cpufreq_walt.c +++ b/kernel/sched/walt/cpufreq_walt.c @@ -723,7 +723,7 @@ static void waltgov_policy_free(struct waltgov_policy *wg_policy) static int waltgov_kthread_create(struct waltgov_policy *wg_policy) { struct task_struct *thread; - struct sched_param param = { .sched_priority = MAX_USER_RT_PRIO / 2 }; + struct sched_param param = { .sched_priority = MAX_RT_PRIO / 2 }; struct cpufreq_policy *policy = wg_policy->policy; int ret;