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 <snimmala@codeaurora.org>
This commit is contained in:
Sai Harshini Nimmala 2021-10-14 16:39:17 -07:00 committed by Rishabh Bhatnagar
parent 03ee181e27
commit d3e1802b11

View File

@ -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;