mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
sched/fair: Fix compilation
Change-Id: I6ee63f3b88ebb34ffa2cd592fe93d16a447c7821 Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
0f2cf05b34
commit
4198920708
@ -7413,7 +7413,7 @@ static inline int __select_idle_sibling(struct task_struct *p, int prev, int tar
|
||||
recent_used_cpu != target &&
|
||||
cpus_share_cache(recent_used_cpu, target) &&
|
||||
(idle_cpu(recent_used_cpu) || sched_idle_cpu(recent_used_cpu)) &&
|
||||
cpumask_test_cpu(p->recent_used_cpu, &p->cpus_allowed)) {
|
||||
cpumask_test_cpu(p->recent_used_cpu, p->cpus_ptr)) {
|
||||
/*
|
||||
* Replace recent_used_cpu with prev as it is a potential
|
||||
* candidate for the next wake.
|
||||
@ -8603,7 +8603,7 @@ select_task_rq_fair(struct task_struct *p, int prev_cpu, int sd_flag, int wake_f
|
||||
|
||||
if (sysctl_sched_sync_hint_enable && sync &&
|
||||
_cpus_allowed && !_wake_cap &&
|
||||
wake_affine_idle(sd, p, cpu, prev_cpu, sync) &&
|
||||
wake_affine_idle(cpu, prev_cpu, sync) &&
|
||||
cpu_is_in_target_set(p, cpu)) {
|
||||
rcu_read_unlock();
|
||||
return cpu;
|
||||
|
Loading…
x
Reference in New Issue
Block a user