aboutsummaryrefslogtreecommitdiff
path: root/arch/xtensa/boot
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-06-19 12:33:21 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-06-19 12:33:21 +0900
commit3aeb884b4ec442719a2d8aa15316415a7412efd8 (patch)
treebcf69c95107b8296cbe76c0d86ee7cadc05c6019 /arch/xtensa/boot
parent5527398218aae85f37552a69fad163fa500c39e4 (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/xtensa/boot')
0 files changed, 0 insertions, 0 deletions