[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.