diff options
author | Yinghai Lu <yinghai.lu@amd.com> | 2007-05-02 19:27:08 +0200 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 19:27:08 +0200 |
commit | f0e13ae76a607eab9c387544ebca550f2196a876 (patch) | |
tree | 88fcf4170fe50ddc25bdb037dd4be3a91151987a /arch/x86_64 | |
parent | 9f7290ed23b1cedf7198ef7b67f2ed256bc8553e (diff) | |
download | op-kernel-dev-f0e13ae76a607eab9c387544ebca550f2196a876.zip op-kernel-dev-f0e13ae76a607eab9c387544ebca550f2196a876.tar.gz |
[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')
-rw-r--r-- | arch/x86_64/kernel/io_apic.c | 3 |
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 c6a5bc7..318d905 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) vector = ~get_irq_regs()->orig_rax; me = smp_processor_id(); - if ((vector == cfg->vector) && - cpu_isset(smp_processor_id(), cfg->domain)) { + if ((vector == cfg->vector) && cpu_isset(me, cfg->domain)) { cpumask_t cleanup_mask; cpus_and(cleanup_mask, cfg->old_domain, cpu_online_map); |