Skip to content

Commit 2916637

Browse files
tangyoulingakpm00
authored andcommitted
kdump: remove redundant DEFAULT_CRASH_KERNEL_LOW_SIZE
Remove duplicate definitions, no functional changes. Link: https://lkml.kernel.org/r/MW4PR84MB3145459ADC7EB38BBB36955B8198A@MW4PR84MB3145.NAMPRD84.PROD.OUTLOOK.COM Signed-off-by: Youling Tang <tangyouling@kylinos.cn> Reported-by: Huacai Chen <chenhuacai@loongson.cn> Acked-by: Baoquan He <bhe@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent 436efd9 commit 2916637

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/linux/crash_core.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ Elf_Word *append_elf_note(Elf_Word *buf, char *name, unsigned int type,
8787
void *data, size_t data_len);
8888
void final_note(Elf_Word *buf);
8989

90-
#ifdef CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
91-
#ifndef DEFAULT_CRASH_KERNEL_LOW_SIZE
92-
#define DEFAULT_CRASH_KERNEL_LOW_SIZE (128UL << 20)
93-
#endif
94-
#endif
95-
9690
int __init parse_crashkernel(char *cmdline, unsigned long long system_ram,
9791
unsigned long long *crash_size, unsigned long long *crash_base,
9892
unsigned long long *low_size, bool *high);

0 commit comments

Comments
 (0)