about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/semtimedop.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-03-17 19:07:39 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-03-17 19:07:39 +0000
commita64e3aadbf99dd99baab4b3b650eb6be68b3a4aa (patch)
treeab1a3da4a14599468636906cf6aef76881d9ce3b /sysdeps/unix/sysv/linux/semtimedop.c
parent4674df40bbe2adf301fa47c8088fcb777048798b (diff)
downloadglibc-a64e3aadbf99dd99baab4b3b650eb6be68b3a4aa.tar.gz
glibc-a64e3aadbf99dd99baab4b3b650eb6be68b3a4aa.tar.xz
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/semtimedop.c')
0 files changed, 0 insertions, 0 deletions