[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070429105302.89BF215108@wotan.suse.de>
Date: Sun, 29 Apr 2007 12:53:02 +0200 (CEST)
From: Andi Kleen <ak@...e.de>
To: "Yinghai Lu" <yinghai.lu@....com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Andi Kleen <ak@....de>, patches@...-64.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] [14/48] x86_64: remove extra smp_processor_id calling
From: "Yinghai Lu" <yinghai.lu@....com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Andi Kleen <ak@....de>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Andi Kleen <ak@...e.de>
---
arch/x86_64/kernel/io_apic.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Index: linux/arch/x86_64/kernel/io_apic.c
===================================================================
--- linux.orig/arch/x86_64/kernel/io_apic.c
+++ linux/arch/x86_64/kernel/io_apic.c
@@ -1407,8 +1407,7 @@ static void irq_complete_move(unsigned i
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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists