# HG changeset patch
# User jimix@xxxxxxxxxxxxxxxxxxxxx
# Node ID 9372353e3b095cfaf82d09c8b891d9a2b58ca735
# Parent b53c343b47ae930248f5db194b72d390e4143ccd
[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>
---
xen/arch/powerpc/powerpc64/exceptions.S | 2 +-
xen/arch/powerpc/setup.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -r b53c343b47ae -r 9372353e3b09 xen/arch/powerpc/powerpc64/exceptions.S
--- a/xen/arch/powerpc/powerpc64/exceptions.S Wed Oct 11 13:04:07 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 b53c343b47ae -r 9372353e3b09 xen/arch/powerpc/setup.c
--- a/xen/arch/powerpc/setup.c Wed Oct 11 13:04:07 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-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|