commit | 561c2bccc7c5cf3d42f38f1f4d61c7b609d4631e | [log] [tgz] |
---|---|---|
author | Hideo Saito <saito@densan.co.jp> | Thu May 15 13:30:05 2008 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Fri May 16 14:55:07 2008 +0900 |
tree | 6ea17594951e210dbf71c6a445da39faf6b9649a | |
parent | e08b954c9a140f2062649faec72514eb505f18c3 [diff] |
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: Hideo Saito <saito@densan.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>