linux: Consolidate sync_file_range implementation
commit48d966eb359b559f292b7f6896eff7746e5af390
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 19 May 2017 13:33:58 +0000 (19 10:33 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 15 Jun 2017 19:03:37 +0000 (15 16:03 -0300)
treea06ecd57c8dfeff1e369f30d1cdad7b1e32946a1
parent244361ebaec57a6fbb9998bfa5ec71ee8d88f3e8
linux: Consolidate sync_file_range implementation

This patch consolidates Linux sync_file_range at default
sysdeps/unix/sysv/linux/sync_file_range.c implementation.  It also
moves the rules flags from generic io/Makefile to Linux one due the
fact it is a Linux-only symbol.

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

* io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
rule.
* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
sync_file_range.
ChangeLog
io/Makefile
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/wordsize-64/syscalls.list