diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-05-19 19:07:59 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-05-19 19:07:59 +0000 |
commit | 4f099bb543efc0ef90ecb396c38cad6739ac4f22 (patch) | |
tree | 5315862e03295894970ca945abc16ce921f49996 | |
parent | 77500386c5e716357f76d1fa70a2c2d164e0a8f0 (diff) | |
download | glibc-4f099bb543efc0ef90ecb396c38cad6739ac4f22.zip glibc-4f099bb543efc0ef90ecb396c38cad6739ac4f22.tar.gz glibc-4f099bb543efc0ef90ecb396c38cad6739ac4f22.tar.bz2 |
(__ASSUME_PRIVATE_FUTEX): Define for kernel >= 2.6.22.
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index ed32001..f6bd906 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-2003, 2004, 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 1999-2006, 2007 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 @@ -463,3 +463,8 @@ #if __LINUX_KERNEL_VERSION >= 0x020616 # define __ASSUME_UTIMENSAT 1 #endif + +/* Support for private futexes was added in 2.6.22. */ +#if __LINUX_KERNEL_VERSION >= 0x020616 +# define __ASSUME_PRIVATE_FUTEX 1 +#endif |