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-unstable] [XEN][POWERPC] Support your older compile

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN][POWERPC] Support your older compilers
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Dec 2006 17:34:39 +0000
Delivery-date: Wed, 13 Dec 2006 09:37:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 jimix@xxxxxxxxxxxxxxxxxxxxx
# Node ID 0ff8b14fb530468936fe69f28a1f2af177d3f899
# Parent  d6ec02744592b9e2668d9270cd1a54c2d455fb77
[XEN][POWERPC] Support your older compilers

gcc 3.3.x doesn't like some instructions we are using so lets dum them
down a bit.

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/powerpc64/exceptions.S |    2 +-
 xen/arch/powerpc/setup.c                |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r d6ec02744592 -r 0ff8b14fb530 xen/arch/powerpc/powerpc64/exceptions.S
--- a/xen/arch/powerpc/powerpc64/exceptions.S   Tue Oct 10 09:11:32 2006 -0400
+++ b/xen/arch/powerpc/powerpc64/exceptions.S   Thu Oct 12 17:09:19 2006 -0400
@@ -587,7 +587,7 @@ 4:  dcbf r0,r9
     b .
     /* Find our index in the array of processor_area struct pointers.  */
 2:  LOADADDR(r14, global_cpu_table)
-    muli r15, r3, 8
+    mulli r15, r3, 8
     add r14, r14, r15
     /* Spin until the pointer for our processor goes valid.  */
 1:  ld r15, 0(r14)
diff -r d6ec02744592 -r 0ff8b14fb530 xen/arch/powerpc/setup.c
--- a/xen/arch/powerpc/setup.c  Tue Oct 10 09:11:32 2006 -0400
+++ b/xen/arch/powerpc/setup.c  Thu Oct 12 17:09:19 2006 -0400
@@ -118,7 +118,7 @@ void noinline __attn(void)
      * NOP is there to make sure there is something sane to "step
      * over" to. */
     console_start_sync();
-    asm volatile("attn");
+    asm volatile(".long 0x200;nop");
     console_end_sync();
 }
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEN][POWERPC] Support your older compilers, Xen patchbot-unstable <=