Define __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4 for ARM.

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

View File

@ -1,3 +1,8 @@
2009-07-29 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/unix/sysv/linux/arm/kernel-features.h: Define
__ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
2009-06-30 Paul Brook <paul@codesourcery.com>
* sysdeps/arm/eabi/Makefile (CFLAGS-initfini.s): Add

View File

@ -51,6 +51,12 @@
# define __ASSUME_SIGFRAME_V2 1
#endif
/* Support for the eventfd2 and signalfd4 syscalls was added in 2.6.27. */
#if __LINUX_KERNEL_VERSION >= 0x02061b
# define __ASSUME_EVENTFD2 1
# define __ASSUME_SIGNALFD4 1
#endif
#include_next <kernel-features.h>
/* These syscalls are not implemented yet for ARM. */