(__ASSUME_PRIVATE_FUTEX): Define for kernel >= 2.6.22.

This commit is contained in:
Ulrich Drepper 2007-05-19 19:07:59 +00:00
parent 77500386c5
commit 4f099bb543
1 changed files with 6 additions and 1 deletions

View 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
@ -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