about summary refs log tree commit diff
path: root/nis/yp_xdr.c
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2018-01-29 16:12:08 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-01-29 16:12:08 +0000
commitb7ccb5de359e8dd9918dbedfc1f4d96e06fcd634 (patch)
tree742e6c48904b931a84dd9cef1a8af060b4d97b8f /nis/yp_xdr.c
parente3aa6999d7f59324dfca6131268825bc73ee0375 (diff)
downloadglibc-b7ccb5de359e8dd9918dbedfc1f4d96e06fcd634.tar.gz
glibc-b7ccb5de359e8dd9918dbedfc1f4d96e06fcd634.tar.xz
glibc-b7ccb5de359e8dd9918dbedfc1f4d96e06fcd634.zip
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 <romain.naour@gmail.com>
Diffstat (limited to 'nis/yp_xdr.c')
0 files changed, 0 insertions, 0 deletions