1
0
Fork 0
alistair23-linux/arch
Arnd Bergmann 82b355d161 y2038: Remove newstat family from default syscall set
We have four generations of stat() syscalls:
- the oldstat syscalls that are only used on the older architectures
- the newstat family that is used on all 64-bit architectures but
  lacked support for large files on 32-bit architectures.
- the stat64 family that is used mostly on 32-bit architectures to
  replace newstat
- statx() to replace all of the above, adding 64-bit timestamps among
  other things.

We already compile stat64 only on those architectures that need it,
but newstat is always built, including on those that don't reference
it. This adds a new __ARCH_WANT_NEW_STAT symbol along the lines of
__ARCH_WANT_OLD_STAT and __ARCH_WANT_STAT64 to control compilation of
newstat. All architectures that need it use an explict define, the
others now get a little bit smaller, and future architecture (including
64-bit targets) won't ever see it.

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
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 kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09: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 kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09:00
h8300 Kbuild updates for v4.19 (2nd) 2018-08-25 13:40:38 -07:00
hexagon kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09: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 kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09:00
nios2 mm: convert return type of handle_mm_fault() caller to vm_fault_t 2018-08-17 16:20:28 -07:00
openrisc OpenRISC updates for 4.19 2018-08-23 14:09:37 -07: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 mm: convert return type of handle_mm_fault() caller to vm_fault_t 2018-08-17 16:20:28 -07: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