forked from pool/kexec-tools
34 lines
1021 B
Diff
34 lines
1021 B
Diff
|
From d43610084164aec742f9ec9bd87d87575397d666 Mon Sep 17 00:00:00 2001
|
||
|
From: Eric DeVolder <eric.devolder@oracle.com>
|
||
|
Date: Fri, 17 Feb 2017 16:47:16 -0600
|
||
|
Subject: [PATCH 10/45] crashdump/arm64: Add get_crash_kernel_load_range()
|
||
|
function
|
||
|
|
||
|
Provide stub get_crash_kernel_load_range() in support of
|
||
|
print crash kernel region size option.
|
||
|
|
||
|
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/arm64/crashdump-arm64.c | 6 ++++++
|
||
|
1 file changed, 6 insertions(+)
|
||
|
|
||
|
diff --git a/kexec/arch/arm64/crashdump-arm64.c b/kexec/arch/arm64/crashdump-arm64.c
|
||
|
index d2272c8124d0..b0e4713f12c6 100644
|
||
|
--- a/kexec/arch/arm64/crashdump-arm64.c
|
||
|
+++ b/kexec/arch/arm64/crashdump-arm64.c
|
||
|
@@ -19,3 +19,9 @@ int is_crashkernel_mem_reserved(void)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
+
|
||
|
+int get_crash_kernel_load_range(uint64_t *start, uint64_t *end)
|
||
|
+{
|
||
|
+ /* Crash kernel region size is not exposed by the system */
|
||
|
+ return -1;
|
||
|
+}
|
||
|
--
|
||
|
2.13.0
|
||
|
|