From: Ulrich Drepper Date: Sat, 19 May 2007 19:07:59 +0000 (+0000) Subject: (__ASSUME_PRIVATE_FUTEX): Define for kernel >= 2.6.22. X-Git-Tag: cvs/glibc-2_6_1~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f099bb543efc0ef90ecb396c38cad6739ac4f22;p=thirdparty%2Fglibc.git (__ASSUME_PRIVATE_FUTEX): Define for kernel >= 2.6.22. --- diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index ed320015441..f6bd906f5df 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