android_kernel_xiaomi_sm8350/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
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 spelling fixes: arch/sh/ 2007-05-21 14:31:39 +09:00
machine_kexec.c
Makefile
module.c
pm.c
process.c sh: sr.bl toggling around idle sleep. 2007-05-21 14:34:25 +09:00
ptrace.c
relocate_kernel.S
semaphore.c
setup.c
sh_bios.c
sh_ksyms.c
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
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