[linux-yocto] [PATCH 2/2] xilinx-zynq: Revert "zynq: SMP	crashkernel support"
    quanyang.wang at windriver.com 
    quanyang.wang at windriver.com
       
    Mon Oct 21 20:23:29 PDT 2019
    
    
  
From: Quanyang Wang <quanyang.wang at windriver.com>
This reverts commit 5d1a5900882ceb86cddf36c258bd5bda498c8da8.
Since the commit ("ARM: zynq: use physical cpuid in zynq_slcr_cpu_stop/start")
has fixed the hang issue in kdump, this patch can be reverted.
Signed-off-by: Quanyang Wang <quanyang.wang at windriver.com>
---
 arch/arm/kernel/machine_kexec.c | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c
index 654f2b1f9ac0..76300f3813e8 100644
--- a/arch/arm/kernel/machine_kexec.c
+++ b/arch/arm/kernel/machine_kexec.c
@@ -3,7 +3,6 @@
  * machine_kexec.c - handle transition of Linux booting another kernel
  */
 
-#include <linux/cpu.h>
 #include <linux/mm.h>
 #include <linux/kexec.h>
 #include <linux/delay.h>
@@ -146,8 +145,6 @@ static void machine_kexec_mask_interrupts(void)
 void machine_crash_shutdown(struct pt_regs *regs)
 {
 	local_irq_disable();
-	disable_nonboot_cpus();
-
 	crash_smp_send_stop();
 
 	crash_save_cpu(regs, smp_processor_id());
-- 
2.17.1
    
    
More information about the linux-yocto
mailing list