diff options
author | Mike Travis <travis@sgi.com> | 2008-05-12 15:21:13 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 12:35:12 -0400 |
commit | 363ab6f1424cdea63e5d182312d60e19077b892a (patch) | |
tree | e200197412691015ca8de083155985e7e460ecfc /kernel/sched_fair.c | |
parent | 068b12772a64c2440ef2f64ac5d780688c06576f (diff) |
core: use performance variant for_each_cpu_mask_nr
Change references from for_each_cpu_mask to for_each_cpu_mask_nr
where appropriate
Reviewed-by: Paul Jackson <pj@sgi.com>
Reviewed-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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, |