diff options
author | Youling Tang <tangyouling@loongson.cn> | 2023-02-25 08:52:56 +0100 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-02-25 15:12:17 +0100 |
commit | 3f89765d6227fe4645a91e062332b6b4eb24072c (patch) | |
tree | 2f89ff871f709ffe305fa145d085f931ca13405d /arch/loongarch/Makefile | |
parent | LoongArch: Add support for kernel address space layout randomization (KASLR) (diff) | |
download | linux-3f89765d6227fe4645a91e062332b6b4eb24072c.tar.xz linux-3f89765d6227fe4645a91e062332b6b4eb24072c.zip |
LoongArch: kdump: Add single kernel image implementation
This feature depends on the kernel being relocatable.
Enable using single kernel image for kdump, and then no longer need to
build two kernels (production kernel and capture kernel share a single
kernel image).
Also enable CONFIG_CRASH_DUMP in loongson3_defconfig.
Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/Makefile')
-rw-r--r-- | arch/loongarch/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/loongarch/Makefile b/arch/loongarch/Makefile index 768592998b39..f71edf574101 100644 --- a/arch/loongarch/Makefile +++ b/arch/loongarch/Makefile @@ -79,11 +79,7 @@ endif cflags-y += -ffreestanding cflags-y += $(call cc-option, -mno-check-zero-division) -ifndef CONFIG_PHYSICAL_START load-y = 0x9000000000200000 -else -load-y = $(CONFIG_PHYSICAL_START) -endif bootvars-y = VMLINUX_LOAD_ADDRESS=$(load-y) drivers-$(CONFIG_PCI) += arch/loongarch/pci/ |