Commit b6942dc7 authored by Hongchen Zhang's avatar Hongchen Zhang
Browse files

Revert "LoongArch: Fix kdump failure on v40 interface specification"

LoongArch inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I9QMTK



------------------------------------------

This reverts commit b859d4ad.

This patch is only a work around, and the root cause is efi map table error.
Therefore, we fix the problem of efi map table error at the following patch
instead of adding this work around.

Signed-off-by: default avatarHongchen Zhang <zhanghongchen@loongson.cn>
parent 4be7d089
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -395,6 +395,10 @@ static void reserve_oldmem_region(void)

void __init platform_init(void)
{
	arch_reserve_vmcore();
	arch_parse_crashkernel();
	reserve_oldmem_region();

#ifdef CONFIG_ACPI_TABLE_UPGRADE
	acpi_table_upgrade();
#endif
@@ -432,10 +436,6 @@ static void __init check_kernel_sections_mem(void)
 */
static void __init arch_mem_init(char **cmdline_p)
{
	arch_reserve_vmcore();
	arch_parse_crashkernel();
	reserve_oldmem_region();

	if (usermem)
		pr_info("User-defined physical RAM map overwrite\n");