diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/microblaze/kernel-features.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/microblaze/kernel-features.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h index e8e2ac6a87..dfee428f49 100644 --- a/sysdeps/unix/sysv/linux/microblaze/kernel-features.h +++ b/sysdeps/unix/sysv/linux/microblaze/kernel-features.h @@ -58,6 +58,11 @@ # undef __ASSUME_EXECVEAT #endif +/* Support for the mlock2 syscall was added in 4.7. */ +#if __LINUX_KERNEL_VERSION < 0x040700 +# undef __ASSUME_MLOCK2 +#endif + /* Support for the copy_file_range syscall was added in 4.10. */ #if __LINUX_KERNEL_VERSION < 0x040A00 # undef __ASSUME_COPY_FILE_RANGE |