[PATCH v7 04/11] entry: Add syscall_exit_to_user_mode_prepare() helper

Thomas Gleixner tglx at linutronix.de
Mon Nov 17 05:43:44 PST 2025


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 at huawei.com>

Reviewed-by: Thomas Gleixner <tglx at linutronix.de>



More information about the linux-arm-kernel mailing list