mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 02:40:06 +00:00
c57bf7c15b
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. |
||
---|---|---|
.. | ||
c++-types.data | ||
fstatfs64.c | ||
fts64.c | ||
fts.c | ||
ftw64.c | ||
ftw.c | ||
ioctl.S | ||
jmp_buf-macros.h | ||
ld.abilist | ||
libc.abilist | ||
libresolv.abilist | ||
posix_fadvise64.c | ||
sendfile64.c | ||
statfs64.c | ||
syscalls.list | ||
sysdep.h |