]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
crash_core: change the prototype of function parse_crashkernel()
authorBaoquan He <bhe@redhat.com>
Thu, 14 Sep 2023 03:31:35 +0000 (11:31 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Oct 2023 17:41:58 +0000 (10:41 -0700)
commita9e1a3d84e4a0ea560ed4d84c28d06dbfdffed22
tree1e0f9691fa3b8bc6e1394ef195e0f271d80d222f
parenta6304272b03ece97346f16923453f7e36ec19a5a
crash_core: change the prototype of function parse_crashkernel()

Add two parameters 'low_size' and 'high' to function parse_crashkernel(),
later crashkernel=,high|low parsing will be added.  Make adjustments in
all call sites of parse_crashkernel() in arch.

Link: https://lkml.kernel.org/r/20230914033142.676708-3-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Zhen Lei <thunder.leizhen@huawei.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chen Jiahao <chenjiahao16@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
14 files changed:
arch/arm/kernel/setup.c
arch/arm64/mm/init.c
arch/ia64/kernel/setup.c
arch/loongarch/kernel/setup.c
arch/mips/kernel/setup.c
arch/powerpc/kernel/fadump.c
arch/powerpc/kexec/core.c
arch/powerpc/mm/nohash/kaslr_booke.c
arch/riscv/mm/init.c
arch/s390/kernel/setup.c
arch/sh/kernel/machine_kexec.c
arch/x86/kernel/setup.c
include/linux/crash_core.h
kernel/crash_core.c