diff options
author | Stafford Horne <shorne@gmail.com> | 2021-12-03 22:56:50 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2021-12-04 11:12:09 +0900 |
commit | 07baf50ac754384b9ea996f82b9a2a8aba946aa4 (patch) | |
tree | 1f93cf58ca5ac7998e4b4761c85b1d4692109fab /arch/openrisc | |
parent | 840b66c2550df04fbd66d8be782efa23649a0163 (diff) |
openrisc: Use delay slot for clone and fork wrappers
This saves one instruction.
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc')
-rw-r--r-- | arch/openrisc/kernel/entry.S | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/openrisc/kernel/entry.S b/arch/openrisc/kernel/entry.S index c608f76e5753..8cd2113057c5 100644 --- a/arch/openrisc/kernel/entry.S +++ b/arch/openrisc/kernel/entry.S @@ -1162,15 +1162,13 @@ _fork_save_extra_regs_and_call: ENTRY(__sys_clone) l.movhi r29,hi(sys_clone) - l.ori r29,r29,lo(sys_clone) l.j _fork_save_extra_regs_and_call - l.nop + l.ori r29,r29,lo(sys_clone) ENTRY(__sys_fork) l.movhi r29,hi(sys_fork) - l.ori r29,r29,lo(sys_fork) l.j _fork_save_extra_regs_and_call - l.nop + l.ori r29,r29,lo(sys_fork) ENTRY(sys_rt_sigreturn) l.jal _sys_rt_sigreturn |