]> Gentwo Git Trees - linux/.git/commit
riscv: entry: Convert ret_from_fork() to C
authorCharlie Jenkins <charlie@rivosinc.com>
Thu, 20 Mar 2025 17:29:21 +0000 (10:29 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Apr 2025 06:27:10 +0000 (08:27 +0200)
commitf955aa8723a65759e920d4de8e5d076cef412afc
tree8652c041afb2a8c40afee862160adffc178033d1
parentb4432656b36e5cc1d50a1f2dc15357543add530e
riscv: entry: Convert ret_from_fork() to C

Move the main section of ret_from_fork() to C to allow inlining of
syscall_exit_to_user_mode().

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/all/20250320-riscv_optimize_entry-v6-1-63e187e26041@rivosinc.com
arch/riscv/include/asm/asm-prototypes.h
arch/riscv/kernel/entry.S
arch/riscv/kernel/process.c