This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARM kernel features update


On 5/30/06, Daniel Jacobowitz <drow@false.org> wrote:
I created a kernel-features.h for ARM that added some new things, but I
didn't migrate the existing ARM-specific bits from the linux
kernel-features.h to here.  And later the __arm__ checks were removed
from that file.  This is particularly disastrous for EABI; if
__ASSUME_MMAP2_SYSCALL is set, mmap() calls mmap2, but otherwise the
ARM mmap() only calls mmap.  No point, they figured, in "falling back"
from the older syscall to the newer one.  But EABI doesn't have mmap,
only mmap2.

Committed.

A completely orthogonal nit about __L_K_V,


+#if __LINUX_KERNEL_VERSION >= 131875

Would a hex display of this number make it easier to grok when reading code? e.g. 2.4.4 == 0x020404

Many of the recent changes to kernel-features.h have switched to hex constants.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]