Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81b822f9 authored by Danny Lin's avatar Danny Lin Committed by DarkJoker360
Browse files

sched/rt: Fix compile errors when WALT is disabled



Change-Id: If25bddeb70670d0fcaf93088ebf55ab3dc80b4e3
Signed-off-by: default avatarDanny Lin <danny@kdrag0n.dev>
Signed-off-by: default avatarAlexander Winkowski <dereference23@outlook.com>
parent 65400d8f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1759,9 +1759,13 @@ static int rt_energy_aware_wake_cpu(struct task_struct *task)
	unsigned long tutil = task_util(task);
	int best_cpu_idle_idx = INT_MAX;
	int cpu_idle_idx = -1, start_cpu;
#ifdef CONFIG_SCHED_WALT
	bool boost_on_big = sched_boost() == FULL_THROTTLE_BOOST ?
				  (sched_boost_policy() == SCHED_BOOST_ON_BIG) :
				  false;
#else
	bool boost_on_big = false;
#endif

	rcu_read_lock();