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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1285005079 -3600
# Node ID a1d2d8222d0105d04870c2756a293df71b1f68ae
# Parent  68cc3c514a0aad0fb4d49d7de8671f3c0fd60195
ia64: fix gcc 4.5 warnings

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 xen/arch/ia64/xen/domain.c        |    4 ++--
 xen/arch/ia64/xen/machine_kexec.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r 68cc3c514a0a -r a1d2d8222d01 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Mon Sep 20 18:50:38 2010 +0100
+++ b/xen/arch/ia64/xen/domain.c        Mon Sep 20 18:51:19 2010 +0100
@@ -565,7 +565,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);
@@ -728,7 +728,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 68cc3c514a0a -r a1d2d8222d01 xen/arch/ia64/xen/machine_kexec.c
--- a/xen/arch/ia64/xen/machine_kexec.c Mon Sep 20 18:50:38 2010 +0100
+++ b/xen/arch/ia64/xen/machine_kexec.c Mon Sep 20 18:51:19 2010 +0100
@@ -104,7 +104,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


 


Rackspace

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