summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/crash.c
diff options
context:
space:
mode:
authorBalbir Singh <bsingharora@gmail.com>2017-12-15 19:14:54 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-16 23:47:10 +1100
commit04b9c96eae72d862726f2f4bfcec2078240c33c5 (patch)
tree7a017cad3f9e508e893664d4a34aa1b88a7bc470 /arch/powerpc/kernel/crash.c
parent9625e69a3818cc00fd85632719b4c6c12f7f1b1e (diff)
downloadlinux-04b9c96eae72d862726f2f4bfcec2078240c33c5.tar.bz2
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: Balbir Singh <bsingharora@gmail.com> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/crash.c')
-rw-r--r--arch/powerpc/kernel/crash.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c
index cbabb5adccd9..29c56ca2ddfd 100644
--- a/arch/powerpc/kernel/crash.c
+++ b/arch/powerpc/kernel/crash.c
@@ -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);