s390/kdump: remove code to create ELF notes in the crashed system
[linux-drm-fsl-dcu.git] / arch / s390 / kernel / smp.c
index 9062df575afe1cea0b6a15f0ab018d95ecc859b9..7ad070e984f273465177bb3601c66b8bd5b84597 100644 (file)
@@ -608,9 +608,8 @@ int smp_store_status(int cpu)
  *    stored the registers of the boot CPU in the memory of the old system.
  * 4) kdump and the old kernel stored the CPU state
  *    condition: OLDMEM_BASE != NULL && is_kdump_kernel()
- *    The state of all CPUs is stored in ELF sections in the memory of the
- *    old system. The ELF sections are picked up by the crash_dump code
- *    via elfcorehdr_addr.
+ *    This case does not exist for s390 anymore, setup_arch explicitly
+ *    deactivates the elfcorehdr= kernel parameter
  */
 void __init smp_save_dump_cpus(void)
 {
@@ -619,9 +618,6 @@ void __init smp_save_dump_cpus(void)
        struct save_area_ext *sa_ext;
        bool is_boot_cpu;
 
-       if (is_kdump_kernel())
-               /* Previous system stored the CPU states. Nothing to do. */
-               return;
        if (!(OLDMEM_BASE || ipl_info.type == IPL_TYPE_FCP_DUMP))
                /* No previous system present, normal boot. */
                return;