kernel-ark/arch/sh/kernel
Paul Mundt 3aeb884b4e 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>
2007-06-19 12:33:21 +09:00
..
cpu
timers
vsyscall
asm-offsets.c
cf-enabler.c
cpufreq.c
crash_dump.c
debugtraps.S
early_printk.c
entry-common.S
head.S
init_task.c
io_generic.c
io.c
irq.c
kgdb_jmp.S
kgdb_stub.c
machine_kexec.c
Makefile
module.c
pm.c
process.c
ptrace.c
relocate_kernel.S
semaphore.c
setup.c
sh_bios.c
sh_ksyms.c
signal.c
smp.c
stacktrace.c
sys_sh.c
syscalls.S
time.c
traps.c
vmlinux.lds.S