linux/arch
Arnd Bergmann caf6f9c8a3 asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro
The sys_llseek sytem call is needed on all 32-bit architectures and
none of the 64-bit ones, so we can remove the __ARCH_WANT_SYS_LLSEEK guard
and simplify the include/asm-generic/unistd.h header further.

Since 32-bit tasks can run either natively or in compat mode on 64-bit
architectures, we have to check for both !CONFIG_64BIT and CONFIG_COMPAT.

There are a few 64-bit architectures that also reference sys_llseek
in their 64-bit ABI (e.g. sparc), but I verified that those all
select CONFIG_COMPAT, so the #if check is still correct here. It's
a bit odd to include it in the syscall table though, as it's the
same as sys_lseek() on 64-bit, but with strange calling conventions.

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-08-29 15:42:21 +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 asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +02:00
arm64 asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +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 asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +02:00
microblaze asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +02:00
mips asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +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 asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +02:00
powerpc asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +02:00
riscv Kbuild updates for v4.19 (2nd) 2018-08-25 13:40:38 -07:00
s390 asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +02:00
sh asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +02:00
sparc asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +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 asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +02:00
xtensa asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro 2018-08-29 15:42:21 +02:00
.gitignore
Kconfig Merge branch 'tlb-fixes' 2018-08-23 14:55:01 -07:00