sched/walt: Expand group_first_cpu

group_first_cpu() is removed upstream. Expand the function in all the
places that it is used.

Change-Id: I04f4f9e2b37fca897ee45165b1976e1bec83f5bd
Signed-off-by: Sai Harshini Nimmala <quic_snimmala@quicinc.com>
This commit is contained in:
Sai Harshini Nimmala 2022-09-22 17:30:39 -07:00
parent 271e7db7d1
commit 69d2ba35d6

View File

@ -1021,7 +1021,7 @@ static void walt_find_busiest_queue(void *unused, int dst_cpu,
struct cpumask *env_cpus,
struct rq **busiest, int *done)
{
int fsrc_cpu = group_first_cpu(group);
int fsrc_cpu = cpumask_first(sched_group_span(group));
int busiest_cpu = -1;
struct cpumask src_mask;
int has_misfit;