powerpc/32: fix syscall wrappers with 64-bit arguments
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 31 Oct 2022 14:47:35 +0000 (15:47 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 31 Oct 2022 23:24:09 +0000 (10:24 +1100)
commitce883a2ba310cd7c291bb66ce5d207965fca6003
treebbd8af657b4ca28e3a5dabdbd35b944e2824e057
parent40ff21432883216aa440b6619d559ad8f7d7a7d9
powerpc/32: fix syscall wrappers with 64-bit arguments

With the introduction of syscall wrappers all wrappers for syscalls with
64-bit arguments must be handled specially, not only those that have
unaligned 64-bit arguments. This left out the fallocate() and
sync_file_range2() syscalls.

Fixes: 7e92e01b7245 ("powerpc: Provide syscall wrapper")
Fixes: e23750623835 ("powerpc/32: fix syscall wrappers with 64-bit arguments of unaligned register-pairs")
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/87mt9cxd6g.fsf_-_@igel.home
arch/powerpc/include/asm/syscalls.h
arch/powerpc/kernel/sys_ppc32.c
arch/powerpc/kernel/syscalls/syscall.tbl