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 | 334ef7a7ab8f80b689a2be95d5e62d2167900865 (patch) | |
tree | 1853bf534679b2fa7e5b79f481b9a55fdc2f78b4 /include/asm-x86 | |
parent | 0e12f848b337fc034ceb3c0d03d75f8de1b8cc96 (diff) |
x86: 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>
commit 2d474871e2fb092eb46a0930aba5442e10eb96cc
Author: Mike Travis <travis@sgi.com>
Date: Mon May 12 21:21:13 2008 +0200
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/ipi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/ipi.h b/include/asm-x86/ipi.h index ecc80f341f37..5f7310aa3efd 100644 --- a/include/asm-x86/ipi.h +++ b/include/asm-x86/ipi.h | |||
@@ -121,7 +121,7 @@ static inline void send_IPI_mask_sequence(cpumask_t mask, int vector) | |||
121 | * - mbligh | 121 | * - mbligh |
122 | */ | 122 | */ |
123 | local_irq_save(flags); | 123 | local_irq_save(flags); |
124 | for_each_cpu_mask(query_cpu, mask) { | 124 | for_each_cpu_mask_nr(query_cpu, mask) { |
125 | __send_IPI_dest_field(per_cpu(x86_cpu_to_apicid, query_cpu), | 125 | __send_IPI_dest_field(per_cpu(x86_cpu_to_apicid, query_cpu), |
126 | vector, APIC_DEST_PHYSICAL); | 126 | vector, APIC_DEST_PHYSICAL); |
127 | } | 127 | } |