38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
|
From b6af22826f6055757446cae394a475d179fb0b8b Mon Sep 17 00:00:00 2001
|
||
|
From: Daniel Kiper <daniel.kiper@oracle.com>
|
||
|
Date: Fri, 17 Feb 2017 16:47:17 -0600
|
||
|
Subject: [PATCH 11/45] crashdump/cris: 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: 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/cris/kexec-cris.c | 6 ++++++
|
||
|
1 file changed, 6 insertions(+)
|
||
|
|
||
|
diff --git a/kexec/arch/cris/kexec-cris.c b/kexec/arch/cris/kexec-cris.c
|
||
|
index 4ac2f8942996..3b69709d68cc 100644
|
||
|
--- a/kexec/arch/cris/kexec-cris.c
|
||
|
+++ b/kexec/arch/cris/kexec-cris.c
|
||
|
@@ -77,6 +77,12 @@ 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;
|
||
|
+}
|
||
|
+
|
||
|
unsigned long virt_to_phys(unsigned long addr)
|
||
|
{
|
||
|
return (addr) & 0x7fffffff;
|
||
|
--
|
||
|
2.13.0
|
||
|
|