diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-01-03 03:45:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-01-03 03:45:07 +0000 |
commit | 7dd650d7fc8191aa99c14602b9a44bccb276d4f8 (patch) | |
tree | 19b80e2d423b8ffc8f4b6caa86369c8386405e2a /sysdeps | |
parent | ebb2788e97b264418270b1e03e66dd96c5ab47c9 (diff) | |
download | glibc-7dd650d7fc8191aa99c14602b9a44bccb276d4f8.tar glibc-7dd650d7fc8191aa99c14602b9a44bccb276d4f8.tar.gz glibc-7dd650d7fc8191aa99c14602b9a44bccb276d4f8.tar.bz2 glibc-7dd650d7fc8191aa99c14602b9a44bccb276d4f8.zip |
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Define
FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index d4f2487538..29afe27711 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -1,6 +1,6 @@ /* Set flags signalling availability of kernel features based on given kernel version number. - Copyright (C) 1999-2006, 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 1999-2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -505,7 +505,7 @@ x86-64, PPC, IA-64, and SPARC in 2.6.27. */ #if __LINUX_KERNEL_VERSION >= 0x02061b \ && (defined __i386__ || defined __x86_64__ || defined __powerpc__ \ - || defined __ia64__ || defined __sparc__ || __s390__) + || defined __ia64__ || defined __sparc__ || defined __s390__) # define __ASSUME_SOCK_CLOEXEC 1 # define __ASSUME_IN_NONBLOCK 1 # define __ASSUME_PIPE2 1 @@ -514,13 +514,11 @@ /* Support for the accept4 syscall was added in 2.6.28. */ #if __LINUX_KERNEL_VERSION >= 0x02061c \ && (defined __i386__ || defined __x86_64__ || defined __powerpc__ \ - || defined __ia64__ || defined __sparc__ || __s390__) + || defined __ia64__ || defined __sparc__ || defined __s390__) # define __ASSUME_ACCEPT4 1 #endif /* Support for the FUTEX_CLOCK_REALTIME flag was added in 2.6.29. */ -#if __LINUX_KERNEL_VERSION >= 0x02061d \ - && (defined __i386__ || defined __x86_64__ || defined __powerpc__ \ - || defined __ia64__ || defined __sparc__ || __s390__) +#if __LINUX_KERNEL_VERSION >= 0x02061d # define __ASSUME_FUTEX_CLOCK_REALTIME 1 #endif |