Define __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4 for MIPS.

* sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
	__ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
This commit is contained in:
Aurelien Jarno 2009-07-29 15:27:35 +00:00 committed by Joseph Myers
parent 0a6ab2a600
commit 197aec2596
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-07-20 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
__ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
2009-07-17 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/do-lookup.h: Remove.

View File

@ -31,4 +31,10 @@
# define __ASSUME_FCNTL64 1
#endif
/* Support for the eventfd2 and signalfd4 syscalls was added in 2.6.27. */
#if __LINUX_KERNEL_VERSION >= 0x02061c
# define __ASSUME_EVENTFD2 1
# define __ASSUME_SIGNALFD4 1
#endif
#include_next <kernel-features.h>