aboutsummaryrefslogtreecommitdiff
path: root/include/linux/sysdev.h
diff options
context:
space:
mode:
authorPaul Mundt <[email protected]>2007-06-19 12:33:21 +0900
committerPaul Mundt <[email protected]>2007-06-19 12:33:21 +0900
commit3aeb884b4ec442719a2d8aa15316415a7412efd8 (patch)
treebcf69c95107b8296cbe76c0d86ee7cadc05c6019 /include/linux/sysdev.h
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 <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'include/linux/sysdev.h')
0 files changed, 0 insertions, 0 deletions