forked from pool/kexec-tools
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
|
From 5c80bd9be2959adba8520222ce3456b1bc25cb79 Mon Sep 17 00:00:00 2001
|
||
|
From: Daniel Kiper <daniel.kiper@oracle.com>
|
||
|
Date: Fri, 17 Feb 2017 16:47:18 -0600
|
||
|
Subject: [PATCH 12/45] crashdump/ia64: 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 <daniel.kiper@oracle.com>
|
||
|
Signed-off-by: Eric DeVolder <eric.devolder@oracle.com>
|
||
|
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
|
||
|
Signed-off-by: Simon Horman <horms@verge.net.au>
|
||
|
---
|
||
|
kexec/arch/ia64/crashdump-ia64.c | 5 +++++
|
||
|
1 file changed, 5 insertions(+)
|
||
|
|
||
|
diff --git a/kexec/arch/ia64/crashdump-ia64.c b/kexec/arch/ia64/crashdump-ia64.c
|
||
|
index 726c9f4281ba..755ee5e98566 100644
|
||
|
--- a/kexec/arch/ia64/crashdump-ia64.c
|
||
|
+++ b/kexec/arch/ia64/crashdump-ia64.c
|
||
|
@@ -286,3 +286,8 @@ int is_crashkernel_mem_reserved(void)
|
||
|
return parse_iomem_single("Crash kernel\n", &start,
|
||
|
&end) == 0 ? (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
|
||
|
|