diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2025-03-10 12:33:42 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2025-03-18 19:13:04 +0300 |
commit | a0f2a8d05152512633b256459e9aceb7e588f372 (patch) | |
tree | 5dff55a36ee361fce89106cf7533bc8fe3d8f97e /rust/helpers/helpers.c | |
parent | b46525437e1728596fda558894011ce64e5b0a9f (diff) | |
download | linux-a0f2a8d05152512633b256459e9aceb7e588f372.tar.xz |
s390/syscall: Merge __do_syscall() and do_syscall()
The compiler inlines do_syscall() into __do_syscall(). Therefore do this in
C code as well, since this makes the code easier to understand.
Also adjust and add various unlikely() and likely() annotations.
Furthermore this allows to replace the separate exit_to_user_mode() and
syscall_exit_to_user_mode_work() calls with a combined
syscall_exit_to_user_mode() call which results in slightly better code.
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions