From: Kaz Kojima Date: Mon, 18 Jun 2007 01:08:20 +0000 (+0900) Subject: sh: Fix restartable syscall arg5 clobbering. X-Git-Tag: v2.6.22-rc6~84^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69a331470ff02561cf1898eeb152ccca9f22bf53;p=pandora-kernel.git 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 Signed-off-by: Paul Mundt --- Reading git-diff-tree failed