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
..
2018-08-17 11:32:50 -07:00
2015-05-28 15:31:53 +02:00
2015-01-12 05:04:13 -08:00
2015-02-03 18:47:18 +01:00
2016-03-04 23:50:27 -06:00
2018-06-03 20:32:02 +10:00
2018-06-07 10:23:33 -07:00
2018-08-17 11:32:50 -07:00
2016-03-01 19:27:20 +11:00
2018-05-07 07:15:41 +02:00
2017-11-16 12:47:46 -08:00
2017-11-16 12:47:46 -08:00
2016-06-14 13:58:26 +10:00
2016-06-14 13:58:26 +10:00
2018-08-19 10:38:36 -07:00
2018-05-25 12:04:43 +10:00
2018-06-03 21:19:40 +10:00
2018-01-15 09:35:26 +01:00
2018-06-23 21:43:21 +10:00
2018-06-03 20:43:34 +10:00
2018-07-30 22:48:21 +10:00
2016-06-14 13:58:26 +10:00
2017-11-12 09:03:10 +11:00
2015-05-05 13:35:39 -06:00