(__ASSUME_PRIVATE_FUTEX): Define for kernel >= 2.6.22.
authorUlrich Drepper <drepper@redhat.com>
Sat, 19 May 2007 19:07:59 +0000 (19:07 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 19 May 2007 19:07:59 +0000 (19:07 +0000)
sysdeps/unix/sysv/linux/kernel-features.h

index ed32001..f6bd906 100644 (file)
@@ -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
 #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