about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-07-24 21:03:04 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-07-24 22:38:39 +0200
commite0f9c462d863d006424097879e30443f09771549 (patch)
tree8d98bd9dbffb9d00fbd60d94b20fc1a69e91c0f0 /sysdeps/unix/sysv/linux
parent394df3815e8ceec750fd06583eee4896174ce808 (diff)
downloadglibc-e0f9c462d863d006424097879e30443f09771549.tar.gz
glibc-e0f9c462d863d006424097879e30443f09771549.tar.xz
glibc-e0f9c462d863d006424097879e30443f09771549.zip
alpha: mlock2, copy_file_range syscalls were introduced in kernel 4.13
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/kernel-features.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/kernel-features.h b/sysdeps/unix/sysv/linux/alpha/kernel-features.h
index f63be39d1b..402d2573d7 100644
--- a/sysdeps/unix/sysv/linux/alpha/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/alpha/kernel-features.h
@@ -45,8 +45,10 @@
 # undef __ASSUME_EXECVEAT
 #endif
 
-/* Support for statx was added in kernel 4.13.  */
+/* Support for copy_file_range, statx was added in kernel 4.13.  */
 #if __LINUX_KERNEL_VERSION < 0x040D00
+# undef __ASSUME_MLOCK2
+# undef __ASSUME_COPY_FILE_RANGE
 # undef __ASSUME_STATX
 #endif