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-changelog

[Xen-changelog] [xen-4.0-testing] ia64: fix gcc 4.5 warnings

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] ia64: fix gcc 4.5 warnings
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Oct 2010 05:55:15 -0700
Delivery-date: Sun, 17 Oct 2010 05:56:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1285010341 -3600
# Node ID 51cb21e3da8a13df4c72654f5c29b01cd2b8b0b0
# Parent  67af28519aed5a68758f34cc37216c008faca9cb
ia64: fix gcc 4.5 warnings

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
xen-unstable changeset:   22183:a1d2d8222d01
xen-unstable date:        Mon Sep 20 18:51:19 2010 +0100
---
 xen/arch/ia64/xen/domain.c        |    4 ++--
 xen/arch/ia64/xen/machine_kexec.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r 67af28519aed -r 51cb21e3da8a xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Mon Sep 20 20:18:25 2010 +0100
+++ b/xen/arch/ia64/xen/domain.c        Mon Sep 20 20:19:01 2010 +0100
@@ -563,7 +563,7 @@ static void init_switch_stack(struct vcp
 {
        struct pt_regs *regs = vcpu_regs (v);
        struct switch_stack *sw = (struct switch_stack *) regs - 1;
-       extern void ia64_ret_from_clone;
+       extern char ia64_ret_from_clone;
 
        memset(sw, 0, sizeof(struct switch_stack) + sizeof(struct pt_regs));
        sw->ar_bspstore = (unsigned long)vcpu_to_rbs_bottom(v);
@@ -726,7 +726,7 @@ static int
 static int
 vcpu_has_not_run(struct vcpu* v)
 {
-       extern void ia64_ret_from_clone;
+       extern char ia64_ret_from_clone;
        struct switch_stack *sw = vcpu_to_switch_stack(v);
 
        return (sw == (struct switch_stack *)(vcpu_regs(v)) - 1) &&
diff -r 67af28519aed -r 51cb21e3da8a xen/arch/ia64/xen/machine_kexec.c
--- a/xen/arch/ia64/xen/machine_kexec.c Mon Sep 20 20:18:25 2010 +0100
+++ b/xen/arch/ia64/xen/machine_kexec.c Mon Sep 20 20:19:01 2010 +0100
@@ -147,7 +147,7 @@ void machine_reboot_kexec(xen_kexec_imag
 
 static int machine_kexec_get_xen(xen_kexec_range_t *range)
 {
-       range->start = range->start = ia64_tpa(_text);
+       range->start = ia64_tpa(_text);
        range->size = (unsigned long)_end - (unsigned long)_text;
        return 0;
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] ia64: fix gcc 4.5 warnings, Xen patchbot-4.0-testing <=