commit | 03f07876df2565321871a2dbf33c5c737df185df | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Thu Jan 29 11:21:38 2009 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Thu Jan 29 11:56:03 2009 +0900 |
tree | c0c5d6d9a83e53acfc2052d99ff4e26f360af018 | |
parent | 0f6dee232f84c11ec195721571763ccae1b82639 [diff] |
sh: Fix up spurious syscall restarting. 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>