diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-03-17 19:07:39 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-03-17 19:07:39 +0000 |
commit | a64e3aadbf99dd99baab4b3b650eb6be68b3a4aa (patch) | |
tree | ab1a3da4a14599468636906cf6aef76881d9ce3b /sysdeps/unix/sysv/linux/kernel-features.h | |
parent | 4674df40bbe2adf301fa47c8088fcb777048798b (diff) | |
download | glibc-a64e3aadbf99dd99baab4b3b650eb6be68b3a4aa.tar glibc-a64e3aadbf99dd99baab4b3b650eb6be68b3a4aa.tar.gz glibc-a64e3aadbf99dd99baab4b3b650eb6be68b3a4aa.tar.bz2 glibc-a64e3aadbf99dd99baab4b3b650eb6be68b3a4aa.zip |
Remove __ASSUME_EVENTFD2, move eventfd to syscalls.list.
Given current Linux kernel version requirements, we can assume the
presence of the eventfd2 syscall. This means that __ASSUME_EVENTFD2
can be removed, and a syscalls.list entry suffices for eventfd instead
of needing a .c file. This patch implements those changes.
Tested for x86_64 and x86 (not that that means much, given the lack of
testsuite coverage for eventfd).
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
Remove macro.
* sysdeps/unix/sysv/linux/eventfd.c: Remove file.
* sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
entry.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 51cd63c571..34a7bd23a2 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -83,7 +83,6 @@ 2.6.27. */ #define __ASSUME_IN_NONBLOCK 1 #define __ASSUME_PIPE2 1 -#define __ASSUME_EVENTFD2 1 #define __ASSUME_SIGNALFD4 1 #define __ASSUME_DUP3 1 |