mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 23:20:05 +00:00
[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>
This commit is contained in:
parent
9f7290ed23
commit
f0e13ae76a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user