linux/arch/hexagon
Arnd Bergmann 3339b99ef6 csky, hexagon: fix broken sys_sync_file_range
Both of these architectures require u64 function arguments to be
passed in even/odd pairs of registers or stack slots, which in case of
sync_file_range would result in a seven-argument system call that is
not currently possible. The system call is therefore incompatible with
all existing binaries.

While it would be possible to implement support for seven arguments
like on mips, it seems better to use a six-argument version, either
with the normal argument order but misaligned as on most architectures
or with the reordered sync_file_range2() calling conventions as on
arm and powerpc.

Cc: stable@vger.kernel.org
Acked-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2024-06-25 15:57:37 +02:00
..
configs treewide: drop CONFIG_EMBEDDED 2023-08-21 13:46:25 -07:00
include csky, hexagon: fix broken sys_sync_file_range 2024-06-25 15:57:37 +02:00
kernel hexagon: vmlinux.lds.S: handle attributes section 2024-03-26 11:07:23 -07:00
lib hexagon: export raw I/O routines for modules 2021-11-20 10:35:54 -08:00
mm hexagon: vm_tlb: include asm/tlbflush.h for prototypes 2023-12-10 17:21:35 -08:00
Kbuild
Kconfig Kbuild updates for v6.9 2024-03-21 14:41:00 -07:00
Kconfig.debug
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00