From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from aserp1040.oracle.com ([141.146.126.69]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ccJMc-0004hp-7I for kexec@lists.infradead.org; Fri, 10 Feb 2017 22:08:31 +0000 From: Eric DeVolder Subject: [PATCH v3 05/11] crashdump/m68k: Add get_crash_kernel_load_range() function Date: Fri, 10 Feb 2017 16:07:36 -0600 Message-Id: <1486764462-14176-6-git-send-email-eric.devolder@oracle.com> In-Reply-To: <1486764462-14176-1-git-send-email-eric.devolder@oracle.com> References: <1486764462-14176-1-git-send-email-eric.devolder@oracle.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: horms@verge.net.au, kexec@lists.infradead.org, andrew.cooper3@citrix.com, dyoung@redhat.com, panand@redhat.com Cc: daniel.kiper@oracle.com, konrad.wilk@oracle.com From: Daniel Kiper Implement get_crash_kernel_load_range() in support of print crash kernel region size option. Signed-off-by: Daniel Kiper Signed-off-by: Eric DeVolder --- 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 372aa37..cb54927 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.7.4 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec