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 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
asm-offsets.c
cf-enabler.c sh: trivial build cleanups. 2007-05-31 13:46:21 +09:00
cpufreq.c
crash_dump.c sh: kdump support. 2007-05-07 02:11:56 +00:00
debugtraps.S sh: Use a jump call table for debug trap handlers. 2007-02-13 10:54:43 +09:00
early_printk.c Fixes and cleanups for earlyprintk aka boot console 2007-05-08 11:15:04 -07:00
entry-common.S sh: Clear UBC when not in use. 2007-03-05 14:13:25 +09:00
head.S sh: Fix .empty_zero_page alignment for PAGE_SIZE > 4096. 2006-12-12 08:53:29 +09:00
init_task.c
io_generic.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
io.c
irq.c sh: NR_IRQS consolidation. 2007-05-07 02:10:53 +00:00
kgdb_jmp.S
kgdb_stub.c spelling fixes: arch/sh/ 2007-05-21 14:31:39 +09:00
machine_kexec.c sh: kdump support. 2007-05-07 02:11:56 +00:00
Makefile sh: kdump support. 2007-05-07 02:11:56 +00:00
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 sh: Fixup various PAGE_SIZE == 4096 assumptions. 2006-12-06 10:45:39 +09:00
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