Skip to content

Commit 5619270

Browse files
committed
Merge tag 'for-linus' of git://github.com/openrisc/linux
Pull OpenRISC update from Stafford Horne: "One patch found wile I was getting the glibc port ready: fix issue with clone TLS arg getting overwritten" * tag 'for-linus' of git://github.com/openrisc/linux: openrisc: Fix issue with argument clobbering for clone/fork
2 parents 66125d9 + 6bd140e commit 5619270

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/openrisc/kernel/entry.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,13 +1166,13 @@ ENTRY(__sys_clone)
11661166
l.movhi r29,hi(sys_clone)
11671167
l.ori r29,r29,lo(sys_clone)
11681168
l.j _fork_save_extra_regs_and_call
1169-
l.addi r7,r1,0
1169+
l.nop
11701170

11711171
ENTRY(__sys_fork)
11721172
l.movhi r29,hi(sys_fork)
11731173
l.ori r29,r29,lo(sys_fork)
11741174
l.j _fork_save_extra_regs_and_call
1175-
l.addi r3,r1,0
1175+
l.nop
11761176

11771177
ENTRY(sys_rt_sigreturn)
11781178
l.jal _sys_rt_sigreturn

0 commit comments

Comments
 (0)