38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
|
From 14d71e51e5c95f18b1a3ea2cb143d85f7fe23e43 Mon Sep 17 00:00:00 2001
|
||
|
From: Daniel Kiper <daniel.kiper@oracle.com>
|
||
|
Date: Fri, 17 Feb 2017 16:47:19 -0600
|
||
|
Subject: [PATCH 13/45] crashdump/m68k: 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/m68k/kexec-m68k.c | 6 ++++++
|
||
|
1 file changed, 6 insertions(+)
|
||
|
|
||
|
diff --git a/kexec/arch/m68k/kexec-m68k.c b/kexec/arch/m68k/kexec-m68k.c
|
||
|
index 372aa378f9a1..cb5492785886 100644
|
||
|
--- a/kexec/arch/m68k/kexec-m68k.c
|
||
|
+++ b/kexec/arch/m68k/kexec-m68k.c
|
||
|
@@ -89,6 +89,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 + m68k_memoffset;
|
||
|
--
|
||
|
2.13.0
|
||
|
|