The PS3 bootwrapper files use instructions only available on 64-bit CPUs. Add the code generation directive '.machine "ppc64"' for toolchains configured for 32-bit CPUs.
Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> Acked-by: Grant Likely <[EMAIL PROTECTED]> --- Hi Andrew, It seems Paul is out on holiday, so I'm sending this to you. This fixes a build error in Linus' current tree for a few 32 bit powerpc platforms. It had some review on the linuxppc-dev ML, and Grant Likely reported it fixed the problem. -Geoff arch/powerpc/boot/ps3-head.S | 2 ++ arch/powerpc/boot/ps3-hvcall.S | 2 ++ 2 files changed, 4 insertions(+) --- a/arch/powerpc/boot/ps3-head.S +++ b/arch/powerpc/boot/ps3-head.S @@ -20,6 +20,8 @@ #include "ppc_asm.h" + .machine "ppc64" + .text /* --- a/arch/powerpc/boot/ps3-hvcall.S +++ b/arch/powerpc/boot/ps3-hvcall.S @@ -20,6 +20,8 @@ #include "ppc_asm.h" + .machine "ppc64" + /* * The PS3 hypervisor uses a 64 bit "C" language calling convention. * The routines here marshal arguments between the 32 bit wrapper _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev