direct-io.hg

changeset 12945:0ff8b14fb530

[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@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author jimix@localhost.localdomain
date Thu Oct 12 17:09:19 2006 -0400 (2006-10-12)
parents d6ec02744592
children 4eefe4d31afa
files xen/arch/powerpc/powerpc64/exceptions.S xen/arch/powerpc/setup.c
line diff
     1.1 --- a/xen/arch/powerpc/powerpc64/exceptions.S	Tue Oct 10 09:11:32 2006 -0400
     1.2 +++ b/xen/arch/powerpc/powerpc64/exceptions.S	Thu Oct 12 17:09:19 2006 -0400
     1.3 @@ -587,7 +587,7 @@ 4:  dcbf r0,r9
     1.4      b .
     1.5      /* Find our index in the array of processor_area struct pointers.  */
     1.6  2:  LOADADDR(r14, global_cpu_table)
     1.7 -    muli r15, r3, 8
     1.8 +    mulli r15, r3, 8
     1.9      add r14, r14, r15
    1.10      /* Spin until the pointer for our processor goes valid.  */
    1.11  1:  ld r15, 0(r14)
     2.1 --- a/xen/arch/powerpc/setup.c	Tue Oct 10 09:11:32 2006 -0400
     2.2 +++ b/xen/arch/powerpc/setup.c	Thu Oct 12 17:09:19 2006 -0400
     2.3 @@ -118,7 +118,7 @@ void noinline __attn(void)
     2.4       * NOP is there to make sure there is something sane to "step
     2.5       * over" to. */
     2.6      console_start_sync();
     2.7 -    asm volatile("attn");
     2.8 +    asm volatile(".long 0x200;nop");
     2.9      console_end_sync();
    2.10  }
    2.11