aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/traps.c
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2007-06-18 10:08:20 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-06-18 10:08:20 +0900
commit69a331470ff02561cf1898eeb152ccca9f22bf53 (patch)
treee097e9317f5c2e3e03125dfd1e232dfbcebd4a3a /arch/sh/kernel/traps.c
parentLinux 2.6.22-rc5 (diff)
downloadlinux-dev-69a331470ff02561cf1898eeb152ccca9f22bf53.tar.xz
linux-dev-69a331470ff02561cf1898eeb152ccca9f22bf53.zip
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>
Diffstat (limited to 'arch/sh/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions