mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 03:59:40 +02:00
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:
parent
03ee181e27
commit
d3e1802b11
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user