From ad845c0be95fe3635af0147f0665b110286e68a5 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 27 Aug 2012 19:36:04 +0000 Subject: Remove __ASSUME_STAT64_SYSCALL. --- sysdeps/unix/sysv/linux/kernel-features.h | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'sysdeps/unix/sysv/linux/kernel-features.h') 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, -- cgit 1.4.1