[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.0901062108440.3057@localhost.localdomain>
Date: Tue, 6 Jan 2009 21:11:42 -0800 (PST)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>
cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Harvey Harrison <harvey.harrison@...il.com>
Subject: Re: powerpc: introduce asm/swab.h
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?
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists