sh: Fix up spurious syscall restarting.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 29 Jan 2009 02:21:38 +0000 (11:21 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 29 Jan 2009 02:56:03 +0000 (11:56 +0900)
The T-bit manipulation for syscall error checking had the side effect of
spuriously returning ERESTART* errno values over EINTR. So, we simplify
the error checking a bit and leave the T-bit alone.

Reported-by: Kaz Kojima <kkojima@rr.iij4u.or.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found