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

Commit c0acdea2 authored by Alex Chiang's avatar Alex Chiang Committed by Tony Luck
Browse files

[IA64] Remove redundant cpu_clear() in __cpu_disable path



The second call to cpu_clear() is redundant, as we've already removed
the CPU from cpu_online_map before calling migrate_platform_irqs().

Signed-off-by: default avatarAlex Chiang <achiang@hp.com>
Signed-off-by: default avatarTony Luck <aegl@agluck-desktop.(none)>
parent 66db2e63
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -740,11 +740,10 @@ int __cpu_disable(void)

	if (migrate_platform_irqs(cpu)) {
		cpu_set(cpu, cpu_online_map);
		return (-EBUSY);
		return -EBUSY;
	}

	remove_siblinginfo(cpu);
	cpu_clear(cpu, cpu_online_map);
	fixup_irqs();
	local_flush_tlb_all();
	cpu_clear(cpu, cpu_callin_map);