From 24ed8559c7e8205eb94088532b9dbdf2e290dfa2 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Sat, 21 Jul 2007 04:37:49 -0700 Subject: PS3: Fix build with 32-bit toolchains 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 Acked-by: Grant Likely Cc: Geert Uytterhoeven Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- arch/powerpc/boot/ps3-head.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/powerpc/boot/ps3-head.S') diff --git a/arch/powerpc/boot/ps3-head.S b/arch/powerpc/boot/ps3-head.S index 1a6d64a68df5..a55c2735f759 100644 --- 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 /* -- cgit v1.2.3-59-g8ed1b