From: Paul Mundt Date: Tue, 19 Jun 2007 03:33:21 +0000 (+0900) Subject: sh: Handle -ERESTART_RESTARTBLOCK for restartable syscalls. X-Git-Tag: v2.6.22-rc6~84^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aeb884b4ec442719a2d8aa15316415a7412efd8;p=pandora-kernel.git sh: Handle -ERESTART_RESTARTBLOCK for restartable syscalls. The current implementation only handles -ERESTARTNOHAND, whereas we also need to handle -ERESTART_RESTARTBLOCK in the handle_signal() case for restartable system calls. As noted by Carl: This fixes the LTP test nanosleep03 - the current kernel causes -ERESTART_RESTARTBLOCK to reach user space rather than the correct -EINTR. Reported-by: Carl Shaw Signed-off-by: Paul Mundt --- Reading git-diff-tree failed