Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0e13ae7 authored by Yinghai Lu's avatar Yinghai Lu Committed by Andi Kleen
Browse files

[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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 9f7290ed
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);