Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757417AbZAGFj0 (ORCPT ); Wed, 7 Jan 2009 00:39:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751400AbZAGFjQ (ORCPT ); Wed, 7 Jan 2009 00:39:16 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.124]:48430 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751899AbZAGFjP (ORCPT ); Wed, 7 Jan 2009 00:39:15 -0500 Date: Wed, 7 Jan 2009 00:39:13 -0500 From: Steven Rostedt To: Linus Torvalds Cc: Benjamin Herrenschmidt , Linux Kernel Mailing List , Harvey Harrison Subject: Re: powerpc: introduce asm/swab.h Message-ID: <20090107053913.GA21687@goodmis.org> References: <200901070400.n0740Ore002063@hera.kernel.org> <1231303340.14860.61.camel@pasglop> <1231304552.14860.72.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1109 Lines: 31 On Tue, Jan 06, 2009 at 09:11:42PM -0800, Linus Torvalds wrote: > > > On Wed, 7 Jan 2009, Benjamin Herrenschmidt wrote: > > > > Even if fixing that to use __swab32() instead, then it fails because > > this is defined after it's used. I worked around it using fswab in > > there instead. > > That's the same patch I just sent out (but you changed comments too), so I > obviously agree. > > x86 didn't see this (even in 32-bit mode) because it doesn't use that odd > __SWAB_64_THRU_32__ case, but does the 64-bit swab with native code. > > Can you also verify that it works for you (not just compiles), just so > that I can commit it? I'm the one that originally told Ben about this breaking the PPC32 build. His patch compiles on my PPC32 box. I just rebooted with the new kernel and it boots. Tested-by: Steven Rostedt -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/