linux/arch
Arnd Bergmann bf4b6a7d37 y2038: Remove stat64 family from default syscall set
New architectures should no longer need stat64, which is not y2038
safe and has been replaced by statx(). This removes the 'select
__ARCH_WANT_STAT64' statement from asm-generic/unistd.h and instead
moves it into the respective asm/unistd.h UAPI header files for each
architecture that uses it today.

In the generic file, the system call number and entry points are now
made conditional, so newly added architectures (e.g. riscv32 or csky)
will never need to carry backwards compatiblity for it.

arm64 is the only 64-bit architecture using the asm-generic/unistd.h
file, and it already sets __ARCH_WANT_NEW_STAT in its headers, and I
use the same #ifdef here: future 64-bit architectures therefore won't
see newstat or stat64 any more. They don't suffer from the y2038 time_t
overflow, but for consistency it seems best to also let them use statx().

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-08-29 15:42:20 +02:00
..
alpha y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
arc y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
arm y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
arm64 y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
c6x y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
h8300 y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
hexagon y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
ia64 y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
m68k y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
microblaze y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
mips y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
nds32 y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
nios2 y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
openrisc y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
parisc y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
powerpc y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
riscv Kbuild updates for v4.19 (2nd) 2018-08-25 13:40:38 -07:00
s390 y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
sh y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
sparc y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
um kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09:00
unicore32 y2038: Remove stat64 family from default syscall set 2018-08-29 15:42:20 +02:00
x86 y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
xtensa y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
.gitignore
Kconfig Merge branch 'tlb-fixes' 2018-08-23 14:55:01 -07:00