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 e8e5ad2614b0..1d5f35b4636e 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c | |||
@@ -1009,7 +1009,7 @@ static int wake_idle(int cpu, struct task_struct *p) | |||
1009 | * sibling runqueue info. This will avoid the checks and cache miss | 1009 | * sibling runqueue info. This will avoid the checks and cache miss |
1010 | * penalities associated with that. | 1010 | * penalities associated with that. |
1011 | */ | 1011 | */ |
1012 | if (idle_cpu(cpu) || cpu_rq(cpu)->nr_running > 1) | 1012 | if (idle_cpu(cpu) || cpu_rq(cpu)->cfs.nr_running > 1) |
1013 | return cpu; | 1013 | return cpu; |
1014 | 1014 | ||
1015 | for_each_domain(cpu, sd) { | 1015 | for_each_domain(cpu, sd) { |