This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] microblaze: don't use copy_file_range syscall with kernel headers < 4.10
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Romain Naour <romain dot naour at gmail dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 29 Jan 2018 16:13:22 +0000
- Subject: Re: [PATCH] microblaze: don't use copy_file_range syscall with kernel headers < 4.10
- Authentication-results: sourceware.org; auth=none
- References: <20180128142122.5318-1-romain.naour@gmail.com>
On Sun, 28 Jan 2018, Romain Naour wrote:
> 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.
Thanks, committed.
--
Joseph S. Myers
joseph@codesourcery.com