Skip to content

Commit

Permalink
[PATCH] x86-64: remove extra smp_processor_id calling
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yinghai Lu authored and Andi Kleen committed May 2, 2007
1 parent 9f7290e commit f0e13ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/x86_64/kernel/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f0e13ae

Please sign in to comment.