about summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-05-19 10:33:58 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-06-15 16:03:37 -0300
commit48d966eb359b559f292b7f6896eff7746e5af390 (patch)
treea06ecd57c8dfeff1e369f30d1cdad7b1e32946a1 /io
parent244361ebaec57a6fbb9998bfa5ec71ee8d88f3e8 (diff)
downloadglibc-48d966eb359b559f292b7f6896eff7746e5af390.tar.gz
glibc-48d966eb359b559f292b7f6896eff7746e5af390.tar.xz
glibc-48d966eb359b559f292b7f6896eff7746e5af390.zip
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.
Diffstat (limited to 'io')
-rw-r--r--io/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/io/Makefile b/io/Makefile
index 16365e581a..2f26bf56db 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -99,7 +99,6 @@ CFLAGS-posix_fallocate.c = -fexceptions
 CFLAGS-posix_fallocate64.c = -fexceptions
 CFLAGS-fallocate.c = -fexceptions
 CFLAGS-fallocate64.c = -fexceptions
-CFLAGS-sync_file_range.c = -fexceptions
 CFLAGS-read.c = -fexceptions
 CFLAGS-write.c = -fexceptions