alpha: update kernel-features.h for syscalls added in 2.6.33.

Signed-off-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Matt Turner 2010-03-26 16:49:56 -04:00 committed by Richard Henderson
parent b14e8cb285
commit 742c00d3d9

View File

@ -36,6 +36,31 @@
# define __ASSUME_IEEE_RAISE_EXCEPTION 1
#endif
/* Support for the O_CLOEXEC flag was added for alpha in 2.6.23. */
#if __LINUX_KERNEL_VERSION >= 0x020617
# define __ASSUME_O_CLOEXEC 1
#endif
/* Support for various CLOEXEC and NONBLOCK flags was added for alpha after
2.6.33-rc1. */
#if __LINUX_KERNEL_VERSION >= 0x020621
# define __ASSUME_SOCK_CLOEXEC 1
# define __ASSUME_IN_NONBLOCK 1
#endif
/* Support for the pipe2, eventfd2, signalfd4 syscalls was added for alpha
after 2.6.33-rc1. */
#if __LINUX_KERNEL_VERSION >= 0x020621
# define __ASSUME_PIPE2 1
# define __ASSUME_EVENTFD2 1
# define __ASSUME_SIGNALFD4 1
#endif
/* Support for accept4 was added for alpha after 2.6.33-rc1. */
#if __LINUX_KERNEL_VERSION >= 0x020621
# define __ASSUME_ACCEPT4 1
#endif
#include_next <kernel-features.h>
#undef __ASSUME_ST_INO_64_BIT
@ -62,7 +87,7 @@
# undef __ASSUME_UTIMENSAT
#endif
/* Support for fallocate was added on alpha for 2.6.33. */
/* Support for fallocate was added for alpha after 2.6.33-rc1. */
#if __LINUX_KERNEL_VERSION < 0x020621
# undef __ASSUME_FALLOCATE
#endif