提交 24ed8559 编写于 作者: G Geoff Levand 提交者: Linus Torvalds

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: NGeoff Levand <geoffrey.levand@am.sony.com>
Acked-by: NGrant Likely <grant.likely@secretlab.ca>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 f9652635
......@@ -20,6 +20,8 @@
#include "ppc_asm.h"
.machine "ppc64"
.text
/*
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册