projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
436efd9
)
kdump: remove redundant DEFAULT_CRASH_KERNEL_LOW_SIZE
author
Youling Tang
<tangyouling@kylinos.cn>
Tue, 26 Dec 2023 23:46:25 +0000
(07:46 +0800)
committer
Andrew Morton
<akpm@linux-foundation.org>
Fri, 29 Dec 2023 20:22:31 +0000
(12:22 -0800)
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>
include/linux/crash_core.h
patch
|
blob
|
history
diff --git
a/include/linux/crash_core.h
b/include/linux/crash_core.h
index 5126a4fecb442846b589981b3a7b82f6d3846d36..9eaeaafe0cad3a235ec62e52253cd962161daff6 100644
(file)
--- a/
include/linux/crash_core.h
+++ b/
include/linux/crash_core.h
@@
-87,12
+87,6
@@
Elf_Word *append_elf_note(Elf_Word *buf, char *name, unsigned int type,
void *data, size_t data_len);
void final_note(Elf_Word *buf);
-#ifdef CONFIG_ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
-#ifndef DEFAULT_CRASH_KERNEL_LOW_SIZE
-#define DEFAULT_CRASH_KERNEL_LOW_SIZE (128UL << 20)
-#endif
-#endif
-
int __init parse_crashkernel(char *cmdline, unsigned long long system_ram,
unsigned long long *crash_size, unsigned long long *crash_base,
unsigned long long *low_size, bool *high);