From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by ozlabs.org (Postfix) with ESMTP id 86BFFDDFB8 for ; Fri, 20 Jul 2007 08:16:30 +1000 (EST) Received: by wa-out-1112.google.com with SMTP id m28so840170wag for ; Thu, 19 Jul 2007 15:16:29 -0700 (PDT) Message-ID: Date: Thu, 19 Jul 2007 16:16:29 -0600 From: "Grant Likely" Sender: glikely@secretlab.ca To: "Geoff Levand" Subject: Re: PS3: Fix build with 32-bit toolchains In-Reply-To: <469FDBDC.5030700@am.sony.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed References: <469FDBDC.5030700@am.sony.com> Cc: linuxppc-dev , Paul Mackerras , Arnd Bergmann List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 7/19/07, Geoff Levand wrote: > 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 > --- > Paul, > > Please apply for 2.6.23-rc1. > > 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 > > -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195