From b7ccb5de359e8dd9918dbedfc1f4d96e06fcd634 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Mon, 29 Jan 2018 16:12:08 +0000 Subject: microblaze: don't use copy_file_range syscall with kernel headers < 4.10 copy_file_range syscall was added for microblaze in 4.10. This patch makes the MicroBlaze kernel-features.h undefine __ASSUME_COPY_FILE_RANGE for toolchains built with kernel headers < 4.10. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=7181e5590e5ba898804aef3ee6be7f27606e6f8b Signed-off-by: Romain Naour --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5a930a9a76..f156d857e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-01-29 Romain Naour (tiny change) + + * sysdeps/unix/sysv/linux/microblaze/kernel-features.h + (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef. + 2018-01-29 Joseph Myers * scripts/build-many-glibcs.py (Context.git_checkout): Use git -- cgit v1.2.3