lkml.org 
[lkml]   [2009]   [Jan]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 6 Jan 2009 21:01:50 -0800 (PST)
FromLinus Torvalds <>
SubjectRe: powerpc: introduce asm/swab.h

On Wed, 7 Jan 2009, Benjamin Herrenschmidt wrote:
> 
> Was this tested ? I see no arch maintainer signed-off here, it appears
> to at least break ppc32, and contains hunks that paulus says were
> explicitely nacked (removing of our ld_* macros) etc...

It did no such thing. It just moved the file.

Use

	git show -M -B 156ca2bbf6503a02d7d6829886ce381d572de66e

to see how <asm/swab.h> is just the old <asm/byteorder.h> renamed, and 
with some stuff moved around. Eg it contains:

	-#define __BIG_ENDIAN
	-#include <linux/byteorder.h>

because now the <asm/byteorder.h> header file on powerpc will just do

	+#include <asm/swab.h>
	+#include <linux/byteorder/big_endian.h>

instead of doing that __BIG_ENDIAN define and conditionals that didn't 
work with user space.

So it really should be a no-op. And no, I'm not reverting it, because 
I guarantee that reverting it won't result in a working build - the broken 
<linux/byteorder.h> file no longer exists (and will not be re-instated).

So I'd suggest testing it, and if it really doesn't work, trying to figure 
out why. Because a revert won't be helping.

			Linus


\
 
 \ /
  Last update: 2009-01-07 06:05    [from the cache]
©2003-2008