summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-05-30 14:52:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-05-30 14:52:34 +0000
commit3a85279c0b02c3fcbe47f08743cace8550bf618e (patch)
tree0d1e3183aa2c329c9cb5786782dae7fcc12651a4 /sysdeps/unix/sysv/linux/kernel-features.h
parent4da0431d5f4d9c88d476d1209849ff5344345021 (diff)
downloadglibc-3a85279c0b02c3fcbe47f08743cace8550bf618e.tar.gz
Remove __ASSUME_TRUNCATE64_SYSCALL.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 0ea453d999..4d333e81ec 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -40,11 +40,6 @@
/* The sendfile syscall was introduced in 2.2.0. */
#define __ASSUME_SENDFILE 1
-/* On x86 the truncate64/ftruncate64 syscalls were introduced in 2.3.31. */
-#ifdef __i386__
-# define __ASSUME_TRUNCATE64_SYSCALL 1
-#endif
-
/* On x86 the mmap2 syscall was introduced in 2.3.31. */
#ifdef __i386__
# define __ASSUME_MMAP2_SYSCALL 1
@@ -55,10 +50,9 @@
# define __ASSUME_STAT64_SYSCALL 1
#endif
-/* On sparc the truncate64/ftruncate64/mmap2/stat64/lstat64/fstat64
- syscalls were introduced in 2.3.35. */
+/* On sparc the mmap2/stat64/lstat64/fstat64 syscalls were introduced
+ in 2.3.35. */
#if defined __sparc__ && !defined __arch64__
-# define __ASSUME_TRUNCATE64_SYSCALL 1
# define __ASSUME_MMAP2_SYSCALL 1
# define __ASSUME_STAT64_SYSCALL 1
#endif
@@ -66,7 +60,6 @@
/* I know for sure that these are in 2.3.35 on powerpc. But PowerPC64 does not
support separate 64-bit syscalls, already 64-bit. */
#if defined __powerpc__ && !defined __powerpc64__
-# define __ASSUME_TRUNCATE64_SYSCALL 1
# define __ASSUME_STAT64_SYSCALL 1
#endif
@@ -77,9 +70,8 @@
# define __ASSUME_IPC64 1
#endif
-/* SH kernels got stat64, mmap2, and truncate64 during 2.4.0-test. */
+/* SH kernels got stat64 and mmap2 during 2.4.0-test. */
#ifdef __sh__
-# define __ASSUME_TRUNCATE64_SYSCALL 1
# define __ASSUME_MMAP2_SYSCALL 1
# define __ASSUME_STAT64_SYSCALL 1
#endif