diff options
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r-- | kernel/sched_fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index e24ecd39c4b8..e398318f1014 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -1022,7 +1022,7 @@ static int wake_idle(int cpu, struct task_struct *p) | |||
1022 | || ((sd->flags & SD_WAKE_IDLE_FAR) | 1022 | || ((sd->flags & SD_WAKE_IDLE_FAR) |
1023 | && !task_hot(p, task_rq(p)->clock, sd))) { | 1023 | && !task_hot(p, task_rq(p)->clock, sd))) { |
1024 | cpus_and(tmp, sd->span, p->cpus_allowed); | 1024 | cpus_and(tmp, sd->span, p->cpus_allowed); |
1025 | for_each_cpu_mask(i, tmp) { | 1025 | for_each_cpu_mask_nr(i, tmp) { |
1026 | if (idle_cpu(i)) { | 1026 | if (idle_cpu(i)) { |
1027 | if (i != task_cpu(p)) { | 1027 | if (i != task_cpu(p)) { |
1028 | schedstat_inc(p, | 1028 | schedstat_inc(p, |