diff options
author | Rohan McLure <[email protected]> | 2022-09-21 16:55:49 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-09-26 23:00:15 +1000 |
commit | 43d5de2b67d7f4a8478820005152f7f689608f2f (patch) | |
tree | 59e20d406e0ea54971df234e371a4e0268b86765 /arch/powerpc/kernel/syscalls.c | |
parent | 016ff72bd2090903715c0f9422a44afbb966f4ee (diff) |
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 59c10c52f573 ("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: Rohan McLure <[email protected]>
Reviewed-by: Nicholas Piggin <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/kernel/syscalls.c')
0 files changed, 0 insertions, 0 deletions