android_kernel_xiaomi_sm8350/arch/hexagon/kernel
Arnd Bergmann c176f429f1 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:08:31 +02:00
..
asm-offsets.c
dma.c dma-mapping: drop the dev argument to arch_sync_dma_for_* 2023-04-05 11:16:43 +02:00
head.S
hexagon_ksyms.c
irq_cpu.c
kgdb.c
Makefile
module.c
process.c
ptrace.c
reset.c
screen_info.c
setup.c
signal.c
smp.c
stacktrace.c
syscalltab.c hexagon: fix fadvise64_64 calling conventions 2024-07-05 09:08:31 +02:00
time.c
trampoline.S
traps.c hexagon: Fix function name in die() 2023-02-06 07:52:49 +01:00
vdso.c
vm_entry.S
vm_events.c
vm_init_segtable.S
vm_ops.S
vm_switch.S
vm_vectors.S
vmlinux.lds.S