[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.0812181208070.14014@localhost.localdomain>
Date: Thu, 18 Dec 2008 12:09:54 -0800 (PST)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Harvey Harrison <harvey.harrison@...il.com>
cc: Andrew Morton <akpm@...ux-foundation.org>, bluebird@...too.org,
sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH-2.6.28 final] byteorder: fix new headers for userspace
On Wed, 17 Dec 2008, Harvey Harrison wrote:
>
> glibc headers define both __LITTLE_ENDIAN and __BIG_ENDIAN
> which was tripping the check in linux/byteorder.h. Let's
> just stay out of userspace's way and use __KERN_{endian}
Gaah, ugly.
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.
Hmm?
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