diff options
author | Rohan McLure <[email protected]> | 2022-09-21 16:56:00 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-09-28 19:22:09 +1000 |
commit | f8971c627b14040e533768985a99f4fd6ffa420f (patch) | |
tree | b13a12041449c8ac129cc0479be77ded55e82f9e /arch/powerpc/include/asm/syscall_wrapper.h | |
parent | 8640de0dee49cec50040d9845a2bc96fd15adc9e (diff) |
powerpc: Change system_call_exception calling convention
Change system_call_exception arguments to pass a pointer to a stack
frame container caller state, as well as the original r0, which
determines the number of the syscall. This has been observed to yield
improved performance to passing them by registers, circumventing the
need to allocate a stack frame.
Signed-off-by: Rohan McLure <[email protected]>
Reviewed-by: Nicholas Piggin <[email protected]>
[mpe: Retain clearing of high bits of args for compat tasks]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/include/asm/syscall_wrapper.h')
0 files changed, 0 insertions, 0 deletions