linux-stable-rt/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 sh: Fix SH4-202 clock fwk set_rate() mismatch. 2007-06-04 10:51:59 +09:00
timers sh: section mismatch fixes for system timer. 2007-05-23 12:24:32 +09:00
vsyscall sh: Fix vsyscall build failure. 2007-05-31 13:44:55 +09:00
Makefile
asm-offsets.c
cf-enabler.c sh: trivial build cleanups. 2007-05-31 13:46:21 +09:00
cpufreq.c
crash_dump.c
debugtraps.S
early_printk.c Fixes and cleanups for earlyprintk aka boot console 2007-05-08 11:15:04 -07:00
entry-common.S
head.S
init_task.c
io.c
io_generic.c
irq.c
kgdb_jmp.S
kgdb_stub.c spelling fixes: arch/sh/ 2007-05-21 14:31:39 +09:00
machine_kexec.c
module.c
pm.c
process.c sh: sr.bl toggling around idle sleep. 2007-05-21 14:34:25 +09:00
ptrace.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
relocate_kernel.S
semaphore.c
setup.c sh: Add 32-bit opcode feature CPU flag. 2007-05-09 01:35:01 +00:00
sh_bios.c
sh_ksyms.c sh: Kill off redundant __div64_32 symbol export. 2007-05-09 01:35:01 +00:00
signal.c sh: Handle -ERESTART_RESTARTBLOCK for restartable syscalls. 2007-06-19 12:33:21 +09:00
smp.c sh: trivial build cleanups. 2007-05-31 13:46:21 +09:00
stacktrace.c sh: Fix stacktrace simplification fallout. 2007-05-09 18:55:14 +09:00
sys_sh.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
syscalls.S sh: Wire up signalfd/timerfd/eventfd syscalls. 2007-05-21 14:32:14 +09:00
time.c sh: clockevent/clocksource/hrtimers/nohz TMU support. 2007-05-09 17:33:24 +09:00
traps.c sh: oops_enter()/oops_exit() in die(). 2007-06-18 18:57:13 +09:00
vmlinux.lds.S all-archs: consolidate .data section definition in asm-generic 2007-05-19 09:11:57 +02:00