diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-06-19 12:33:21 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-06-19 12:33:21 +0900 |
commit | 3aeb884b4ec442719a2d8aa15316415a7412efd8 (patch) | |
tree | bcf69c95107b8296cbe76c0d86ee7cadc05c6019 /arch/s390/kernel/smp.c | |
parent | 5527398218aae85f37552a69fad163fa500c39e4 (diff) |
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 <shaw.carl@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/s390/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions