WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] [IA64] kexec: fix ia64 build

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] [IA64] kexec: fix ia64 build
From: "KUWAMURA Shin'ya" <kuwa@xxxxxxxxxxxxxx>
Date: Thu, 07 Jul 2011 09:44:27 +0900 (JST)
Delivery-date: Wed, 06 Jul 2011 17:45:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

23408:1fc3347850c7 causes the following error:
  machine_kexec.c:106: error: static declaration of 'machine_kexec_get_xen' 
follows non-static declaration
  /xen-unstable.hg/xen/include/xen/kexec.h:39: error: previous declaration of 
'machine_kexec_get_xen' was here

This patch fixes it.

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
-- 
  KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# Date 1309938845 -32400
# Node ID 10dfcb0ba2ad0ea2d15a0853074c30d74c276a35
# Parent  183e6b38e1157c177323956deaa5dbec479c22fc
[IA64] kexec: fix ia64 build

23408:1fc3347850c7 causes the following error:
  machine_kexec.c:106: error: static declaration of 'machine_kexec_get_xen' 
follows non-static declaration
  /xen-unstable.hg/xen/include/xen/kexec.h:39: error: previous declaration of 
'machine_kexec_get_xen' was here

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>

diff -r 183e6b38e115 -r 10dfcb0ba2ad xen/arch/ia64/xen/machine_kexec.c
--- a/xen/arch/ia64/xen/machine_kexec.c Wed Jul 06 16:02:58 2011 +0900
+++ b/xen/arch/ia64/xen/machine_kexec.c Wed Jul 06 16:54:05 2011 +0900
@@ -102,7 +102,7 @@ void machine_reboot_kexec(xen_kexec_imag
        machine_kexec(image);
 }
 
-static int machine_kexec_get_xen(xen_kexec_range_t *range)
+int machine_kexec_get_xen(xen_kexec_range_t *range)
 {
        range->start = ia64_tpa(_text);
        range->size = (unsigned long)_end - (unsigned long)_text;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>