mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 19:47:08 +02:00
sched/walt: Replace HK_FLAG_TIMER
Replace HK_FLAG_TIMER with HK_TYPE_TIMER because HK_FLAG_TIMER is removed upstream. Change-Id: I6432556b6148030c8c6621cd0790d8906e0c94ec Signed-off-by: Sai Harshini Nimmala <quic_snimmala@quicinc.com>
This commit is contained in:
parent
845834fca9
commit
271e7db7d1
|
|
@ -460,7 +460,7 @@ static void android_rvh_get_nohz_timer_target(void *unused, int *cpu, bool *done
|
|||
|
||||
*done = true;
|
||||
|
||||
if (housekeeping_cpu(*cpu, HK_FLAG_TIMER) && !cpu_halted(*cpu)) {
|
||||
if (housekeeping_cpu(*cpu, HK_TYPE_TIMER) && !cpu_halted(*cpu)) {
|
||||
if (!available_idle_cpu(*cpu))
|
||||
return;
|
||||
default_cpu = *cpu;
|
||||
|
|
@ -469,7 +469,7 @@ static void android_rvh_get_nohz_timer_target(void *unused, int *cpu, bool *done
|
|||
rcu_read_lock();
|
||||
for_each_domain(*cpu, sd) {
|
||||
for_each_cpu_and(i, sched_domain_span(sd),
|
||||
housekeeping_cpumask(HK_FLAG_TIMER)) {
|
||||
housekeeping_cpumask(HK_TYPE_TIMER)) {
|
||||
if (*cpu == i)
|
||||
continue;
|
||||
|
||||
|
|
@ -483,7 +483,7 @@ static void android_rvh_get_nohz_timer_target(void *unused, int *cpu, bool *done
|
|||
if (default_cpu == -1) {
|
||||
cpumask_complement(&unhalted, cpu_halt_mask);
|
||||
for_each_cpu_and(i, &unhalted,
|
||||
housekeeping_cpumask(HK_FLAG_TIMER)) {
|
||||
housekeeping_cpumask(HK_TYPE_TIMER)) {
|
||||
if (*cpu == i)
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user