Files
android_kernel_xiaomi_sm8450/arch/mips/include/asm
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-06-24 09:26:04 -07:00
2017-11-03 09:02:30 -07:00
2016-04-03 12:32:09 +02:00
2017-09-06 11:01:52 +02:00
2018-01-24 11:17:20 +00:00
2017-08-29 15:21:51 +02:00
2018-07-27 15:19:59 -07:00
2017-11-03 09:02:30 -07:00
2014-08-26 02:18:56 +02:00
2016-05-28 12:35:06 +02:00
2018-07-24 10:02:24 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2018-05-07 07:15:41 +02:00
2017-06-08 14:51:58 +02:00
2017-11-15 18:21:03 -08:00
2017-11-03 09:02:30 -07:00
2017-03-28 16:43:25 -04:00
2014-08-02 00:06:38 +02:00
2016-04-03 12:32:09 +02:00
2018-08-01 13:20:15 -07:00
2017-11-03 09:02:30 -07:00
2017-06-28 12:22:39 +02:00
2016-05-09 12:00:02 +02:00
2017-11-03 09:02:30 -07:00