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

Commit 04b9c96e authored by Balbir Singh's avatar Balbir Singh Committed by Michael Ellerman
Browse files

powerpc/crash: Remove the test for cpu_online in the IPI callback



Our check was extra cautious, we've audited crash_send_ipi
and it sends an IPI only to online CPU's. Removal of this
check should have not functional impact on crash kdump.

Signed-off-by: default avatarBalbir Singh <bsingharora@gmail.com>
Reviewed-by: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 9625e69a
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -69,9 +69,6 @@ static void crash_ipi_callback(struct pt_regs *regs)

	int cpu = smp_processor_id();

	if (!cpu_online(cpu))
		return;

	hard_irq_disable();
	if (!cpumask_test_cpu(cpu, &cpus_state_saved)) {
		crash_save_cpu(regs, cpu);