Skip to content
Commit 43d5de2b authored by Rohan McLure's avatar Rohan McLure Committed by Michael Ellerman
Browse files

asm-generic: compat: Support BE for long long args in 32-bit ABIs



32-bit ABIs support passing 64-bit integers by registers via argument
translation. Commit 59c10c52 ("riscv: compat: syscall: Add
compat_sys_call_table implementation") implements the compat_arg_u64
macro for efficiently defining little endian compatibility syscalls.

Architectures supporting big endianness may benefit from reciprocal
argument translation, but are welcome also to implement their own.

Signed-off-by: default avatarRohan McLure <rmclure@linux.ibm.com>
Reviewed-by: default avatarNicholas Piggin <npiggin@gmail.com>
Reviewed-by: default avatarArnd Bergmann <arnd@anrdb.de>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220921065605.1051927-10-rmclure@linux.ibm.com
parent 016ff72b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment