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

[Xen-changelog] [xen-unstable] [XEN][POWERPC] Support your older compilers



# 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


 


Rackspace

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