Skip to content
Commit 561c2bcc authored by Hideo Saito's avatar Hideo Saito Committed by Paul Mundt
Browse files

sh: Fix up thread info pointer in syscall_badsys resume path.



Entry to resume_userspace expects r8 to contain current_thread_info,
which happens in all paths except for syscall_badsys, where r8 was
being inadvertently trampled. Reload it before the branch.

Signed-off-by: default avatarHideo Saito <saito@densan.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent e08b954c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment