commit | 69a331470ff02561cf1898eeb152ccca9f22bf53 | [log] [tgz] |
---|---|---|
author | Kaz Kojima <kkojima@rr.iij4u.or.jp> | Mon Jun 18 10:08:20 2007 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Jun 18 10:08:20 2007 +0900 |
tree | e097e9317f5c2e3e03125dfd1e232dfbcebd4a3a | |
parent | 188e1f81ba31af1b65a2f3611df4c670b092bbac [diff] |
sh: Fix restartable syscall arg5 clobbering. We use R0 as the 5th argument of syscall. When the syscall restarts after signal handling, we should restore the old value of R0. The attached patch does it. Without this patch, I've experienced random failures in the situation which signals are issued frequently. Signed-off-by: Kaz Kojima <kkojima@rr.iij4u.or.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>