about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-08-27 19:36:04 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-08-27 19:36:04 +0000
commitad845c0be95fe3635af0147f0665b110286e68a5 (patch)
treea9f9d0ec23e28295d5886d3907d39fd936c2f727 /sysdeps/unix/sysv/linux/kernel-features.h
parent5dbf56af7e7aa3fdeb9dc01f2bfa9a5a4b91ffcb (diff)
downloadglibc-ad845c0be95fe3635af0147f0665b110286e68a5.tar.gz
glibc-ad845c0be95fe3635af0147f0665b110286e68a5.tar.xz
glibc-ad845c0be95fe3635af0147f0665b110286e68a5.zip
Remove __ASSUME_STAT64_SYSCALL.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 281faad94d..33fca5c4f6 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -40,23 +40,6 @@
 /* The sendfile syscall was introduced in 2.2.0.  */
 #define __ASSUME_SENDFILE		1
 
-/* On x86 the stat64/lstat64/fstat64 syscalls were introduced in 2.3.34.  */
-#ifdef __i386__
-# define __ASSUME_STAT64_SYSCALL	1
-#endif
-
-/* On sparc the stat64/lstat64/fstat64 syscalls were introduced in
-   2.3.35.  */
-#if defined __sparc__ && !defined __arch64__
-# define __ASSUME_STAT64_SYSCALL	1
-#endif
-
-/* 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_STAT64_SYSCALL	1
-#endif
-
 /* Linux 2.3.39 introduced IPC64.  Except for powerpc.  Linux 2.4.0 on
    PPC introduced a correct IPC64.  But PowerPC64 does not support a
    separate 64-bit syscall, already 64-bit.  */
@@ -64,11 +47,6 @@
 # define __ASSUME_IPC64		1
 #endif
 
-/* SH kernels got stat64 during 2.4.0-test.  */
-#ifdef __sh__
-# define __ASSUME_STAT64_SYSCALL	1
-#endif
-
 /* The changed st_ino field appeared in 2.4.0-test6.  However, SH is lame,
    and still does not have a 64-bit inode field.  */
 #ifndef __sh__
@@ -98,11 +76,6 @@
 # define __ASSUME_UTIMES	1
 #endif
 
-/* On sparc64 stat64/lstat64/fstat64 syscalls were introduced in 2.6.12.  */
-#if defined __sparc__ && defined __arch64__
-# define __ASSUME_STAT64_SYSCALL	1
-#endif
-
 /* pselect/ppoll were introduced just after 2.6.16-rc1.  Due to the way
    the kernel versions are advertised we can only rely on 2.6.17 to have
    the code.  On x86_64 and SH this appeared first in 2.6.19-rc1,