[PATCH v3 06/11] crashdump/mips: Add get_crash_kernel_load_range() function
Eric DeVolder
eric.devolder at oracle.com
Fri Feb 10 14:07:37 PST 2017
From: Daniel Kiper <daniel.kiper at oracle.com>
Implement get_crash_kernel_load_range() in support of
print crash kernel region size option.
Signed-off-by: Daniel Kiper <daniel.kiper at oracle.com>
Signed-off-by: Eric DeVolder <eric.devolder at oracle.com>
---
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 d6cff5a..9c33599 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.7.4
More information about the kexec
mailing list