Re: [PATCH-2.6.28 final] byteorder: fix new headers for userspace

From: Arjan van de Ven
Date: Fri Dec 19 2008 - 03:09:16 EST


On Thu, 18 Dec 2008 12:47:28 -0800 (PST)
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

>
>
> On Thu, 18 Dec 2008, Linus Torvalds wrote:
> >
> > I think it would be better to just make it a config option, call it
> > CONFIG_[LITTLE|BIG]_ENDIAN and set it up in the architecture
> > Kconfig file. I think some of the people who can set it dynamically
> > (or where it depends on the target machine) already effectively do
> > that.
>
> Never mind, since we end up having to export it to user space (do
> we?) we can't depend on the config.h file, nor can we pollute the
> name space.
>

why are we exposing byte order functions to userspace in the first
place ????


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/