From: "KUWAMURA Shin'ya" Subject: [PATCH] [IA64] kexec: fix ia64 build Date: Thu, 07 Jul 2011 09:44:27 +0900 (JST) Message-ID: <20110707.094427.193691923.kuwa@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Jul__7_09_44_27_2011_075)--" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org ----Next_Part(Thu_Jul__7_09_44_27_2011_075)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 -- KUWAMURA Shin'ya ----Next_Part(Thu_Jul__7_09_44_27_2011_075)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fix-ia64-kexec-static.patch" # HG changeset patch # User KUWAMURA Shin'ya # 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 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; ----Next_Part(Thu_Jul__7_09_44_27_2011_075)-- Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ----Next_Part(Thu_Jul__7_09_44_27_2011_075)----