lkml.org 
[lkml]   [2008]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-12-18 21:13    [W:0.080 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site