2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 11:13:58 +08:00
linux-next/arch/microblaze
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
..
boot microblaze: dts: replace 'linux,stdout-path' with 'stdout-path' 2018-04-23 12:49:01 +02:00
configs microblaze: Enabling CONFIG_BRIDGE in mmu_defconfig 2017-06-22 15:36:59 +02:00
include y2038: Remove newstat family from default syscall set 2018-08-29 15:42:20 +02:00
kernel microblaze: delete wrong comment about machine_early_init 2018-07-30 08:33:04 +02:00
lib microblaze: Setup dependencies for ASM optimized lib functions 2018-03-16 12:51:26 +01:00
mm Microblaze patches for 4.19-rc1 2018-08-21 13:18:22 -07:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci microblaze/PCI: Remove stale pcibios_align_resource() comment 2018-08-21 08:23:30 +02:00
Kconfig Microblaze patches for 4.19-rc1 2018-08-21 13:18:22 -07:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Kconfig.platform microblaze: Setup dependencies for ASM optimized lib functions 2018-03-16 12:51:26 +01:00
Makefile kbuild: rename LDFLAGS to KBUILD_LDFLAGS 2018-08-24 08:22:08 +09:00