aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/io_apic.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai.lu@amd.com>2007-05-02 13:27:08 -0400
committerAndi Kleen <andi@basil.nowhere.org>2007-05-02 13:27:08 -0400
commitf0e13ae76a607eab9c387544ebca550f2196a876 (patch)
tree88fcf4170fe50ddc25bdb037dd4be3a91151987a /arch/x86_64/kernel/io_apic.c
parent9f7290ed23b1cedf7198ef7b67f2ed256bc8553e (diff)
[PATCH] x86-64: remove extra smp_processor_id calling
Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/x86_64/kernel/io_apic.c')
-rw-r--r--arch/x86_64/kernel/io_apic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c
index c6a5bc7e811..318d9055cd9 100644
--- a/arch/x86_64/kernel/io_apic.c
+++ b/arch/x86_64/kernel/io_apic.c
@@ -1407,8 +1407,7 @@ static void irq_complete_move(unsigned int irq)
1407 1407
1408 vector = ~get_irq_regs()->orig_rax; 1408 vector = ~get_irq_regs()->orig_rax;
1409 me = smp_processor_id(); 1409 me = smp_processor_id();
1410 if ((vector == cfg->vector) && 1410 if ((vector == cfg->vector) && cpu_isset(me, cfg->domain)) {
1411 cpu_isset(smp_processor_id(), cfg->domain)) {
1412 cpumask_t cleanup_mask; 1411 cpumask_t cleanup_mask;
1413 1412
1414 cpus_and(cleanup_mask, cfg->old_domain, cpu_online_map); 1413 cpus_and(cleanup_mask, cfg->old_domain, cpu_online_map);