glibc/sysdeps/unix/sysv/linux/wordsize-64
Adhemerval Zanella c57bf7c15b Consolidate Linux readahead implementation
This patch consolidate Linux readahead implementation on generic
sysdeps/unix/sysv/linux/readahead.c one.  The changes are:

  - Assume __NR_readahead existence with current minimum kernel of 3.2
    for all architectures.

  - Use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG, and SYSCALL_LL64 to pass
    the 64 bit offset.  This allows architectures with different abis
    to use the same implementation.

  - Remove arch-specific readahead implementations.

Checked on x86_64-linux-gnu and i686-linux-gnu.

	* sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
	* sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
	Remove.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
	__NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
	and SYSCALL_LL64.
2018-04-27 17:38:43 -03:00
..
aio_read64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
aio_read.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
aio_write64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
aio_write.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
dl-fxstatat64.c Remove __ASSUME_ATFCTS conditionals in sysdeps/unix/sysv/linux/. 2014-06-20 15:41:35 +00:00
fstatfs64.c
fstatvfs64.c
fstatvfs.c Fix pathconf statvfs namespace (bug 18507). 2015-06-09 19:52:01 +00:00
fxstat64.c
fxstat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
fxstatat64.c * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64, 2005-11-11 20:02:07 +00:00
fxstatat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
internal_statvfs64.c
lio_listio64.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
lio_listio.c * sysdeps/unix/sysv/linux/open64.c: Move __open64_2 implementation to.. 2007-11-10 19:36:06 +00:00
lxstat64.c
lxstat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
sendfile64.c
statfs64.c
statvfs64.c
statvfs.c Fix pathconf statvfs namespace (bug 18507). 2015-06-09 19:52:01 +00:00
syscalls.list Consolidate Linux readahead implementation 2018-04-27 17:38:43 -03:00
Versions Add missing export of fallocate64 on 32-bit platforms. 2009-05-15 21:00:09 -07:00
xstat64.c
xstat.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00