From d2caf4c4c43b300c3746d85791a650cdcf0ae733 Mon Sep 17 00:00:00 2001 From: Daniel Kiper Date: Fri, 17 Feb 2017 16:47:20 -0600 Subject: [PATCH 14/45] crashdump/mips: Add get_crash_kernel_load_range() function Implement get_crash_kernel_load_range() in support of print crash kernel region size option. Signed-off-by: Daniel Kiper Signed-off-by: Eric DeVolder Reviewed-by: Daniel Kiper Signed-off-by: Simon Horman --- kexec/arch/mips/crashdump-mips.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kexec/arch/mips/crashdump-mips.c b/kexec/arch/mips/crashdump-mips.c index d6cff5ad8993..9c33599a34ed 100644 --- a/kexec/arch/mips/crashdump-mips.c +++ b/kexec/arch/mips/crashdump-mips.c @@ -385,3 +385,7 @@ int is_crashkernel_mem_reserved(void) (start != end) : 0; } +int get_crash_kernel_load_range(uint64_t *start, uint64_t *end) +{ + return parse_iomem_single("Crash kernel\n", start, end); +} -- 2.13.0