aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 5a54920d32..2ce0c5ef0f 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -375,8 +375,7 @@
#endif
/* The fixed version of the posix_fadvise64 syscall appeared in
- 2.6.0-test3. At least for x86 and amd64. */
-#if __LINUX_KERNEL_VERSION >= 132609
- && (defined __i386__ || defined __x86_64__)
+ 2.6.0-test3. At least for x86. */
+#if __LINUX_KERNEL_VERSION >= 132609 && (defined __i386__)
# define __ASSUME_FADVISE64_64_SYSCALL 1
#endif