From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from userp1040.oracle.com ([156.151.31.81]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cap8x-0000Ho-QR for kexec@lists.infradead.org; Mon, 06 Feb 2017 19:40:19 +0000 From: Eric DeVolder Subject: [PATCH v2 03/12] crashdump/cris: Add print_crashkernel_region_size() function Date: Mon, 6 Feb 2017 13:42:15 -0600 Message-Id: <1486410144-28595-4-git-send-email-eric.devolder@oracle.com> In-Reply-To: <1486410144-28595-1-git-send-email-eric.devolder@oracle.com> References: <1486410144-28595-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 Cc: daniel.kiper@oracle.com, konrad.wilk@oracle.com From: Daniel Kiper Provide just print_crashkernel_region_size() stub. This way we can properly build kexec utility on cris arch even if the functionality is not available on it. Signed-off-by: Daniel Kiper Signed-off-by: Eric DeVolder --- kexec/arch/cris/kexec-cris.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kexec/arch/cris/kexec-cris.c b/kexec/arch/cris/kexec-cris.c index 4ac2f89..5601d8e 100644 --- a/kexec/arch/cris/kexec-cris.c +++ b/kexec/arch/cris/kexec-cris.c @@ -77,6 +77,11 @@ int is_crashkernel_mem_reserved(void) return 0; } +void print_crashkernel_region_size(void) +{ + printf("Crashkernel functionality is not available.\n"); +} + unsigned long virt_to_phys(unsigned long addr) { return (addr) & 0x7fffffff; -- 2.7.4 _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec