android_kernel_xiaomi_sm8450/arch/hexagon
Arnd Bergmann 9ec84770e4 hexagon: fix fadvise64_64 calling conventions
commit 896842284c6ccba25ec9d78b7b6e62cdd507c083 upstream.

fadvise64_64() has two 64-bit arguments at the wrong alignment
for hexagon, which turns them into a 7-argument syscall that is
not supported by Linux.

The downstream musl port for hexagon actually asks for a 6-argument
version the same way we do it on arm, csky, powerpc, so make the
kernel do it the same way to avoid having to change both.

Link: https://github.com/quic/musl/blob/hexagon/arch/hexagon/syscall_arch.h#L78
Cc: stable@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 09:12:54 +02:00
..
configs
include hexagon: fix fadvise64_64 calling conventions 2024-07-05 09:12:54 +02:00
kernel hexagon: fix fadvise64_64 calling conventions 2024-07-05 09:12:54 +02:00
lib hexagon: export raw I/O routines for modules 2021-11-26 10:39:19 +01:00
mm mm/hexagon: use general page fault accounting 2020-08-12 10:58:03 -07:00
Kconfig hexagon: select ARCH_WANT_LD_ORPHAN_WARN 2022-08-21 15:15:33 +02:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile Hexagon: add target builtins to kernel 2021-07-11 12:53:31 +02:00