PS3: Fix build with 32-bit toolchains
authorGeoff Levand <geoffrey.levand@am.sony.com>
Sat, 21 Jul 2007 11:37:49 +0000 (04:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 00:49:16 +0000 (17:49 -0700)
commit24ed8559c7e8205eb94088532b9dbdf2e290dfa2
tree3deaa849e3112e3b2a32ebf279a71f52556cff10
parentf96526354bb0824f3ce550a028606d2f94435b92
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 <geoffrey.levand@am.sony.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/boot/ps3-head.S
arch/powerpc/boot/ps3-hvcall.S