On Mon, Nov 17 2025 at 21:30, Jinjie Ruan wrote:
In the generic entry code, the part before syscall_exit_to_user_mode_work() calls syscall_exit_work(), which serves the same purpose as syscall_exit_to_user_mode_prepare() in arm64.
In preparation for moving arm64 over to the generic entry code, extract syscall_exit_to_user_mode_prepare() helper from syscall_exit_to_user_mode_work().
No functional changes.
Signed-off-by: Jinjie Ruan ruanjinjie@huawei.com
Reviewed-by: Thomas Gleixner tglx@linutronix.de