Re: [PATCH] byteorder: remove direct includes oflinux/byteorder/swab[b].h

From: Harvey Harrison
Date: Tue Oct 21 2008 - 16:37:40 EST

On Tue, 2008-10-21 at 13:15 -0700, Andrew Morton wrote:
> On Mon, 20 Oct 2008 10:23:38 -0700
> Harvey Harrison <harvey.harrison@xxxxxxxxx> wrote:
> > A consolidated implementation will provide this generically through
> > asm/byteorder, remove direct includes to avoid breakage when the
> > changeover to the new implementation occurs.
> >
> > Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
> > ---
> > Andrew, this hunk seems to have been lost when you sent it to Linus, it's possible
> > you applied this on top of the -next tree where this file has moved, but the tests
> > tree hasn't been pulled yet.
> >
> > The rest of the patch went into mainline as 1d8cca44b6a244b7e378546d719041819049a0f9
> >
> Grump. It happens sometimes. People putting stuff into linux-next and
> then not merging it into the next kernel.
> Should this be linux/byteorder.h? (Which weirdly doesn't include
> asm/byteorder.h).

As the implementations all used to live in asm/byteorder.h before
consolidating, it needs to be asm until all arches convert. At that
time we can do the flip and let linux/ be directly includable.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at