ARM: 7474/1: get rid of TIF_SYSCALL_RESTARTSYS
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 19 Jul 2012 16:48:50 +0000 (17:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 28 Jul 2012 10:11:52 +0000 (11:11 +0100)
commit6628521784d1da3b7354c6b6e8499e19ab46a3d1
treecde8876156ebe9999bdc2156f76d18b15293c754
parent81783786d5cf4aa0d3e15bb0fac856aa8ebf1a76
ARM: 7474/1: get rid of TIF_SYSCALL_RESTARTSYS

just let do_work_pending() return 1 on normal local restarts and
-1 on those that had been caused by ERESTART_RESTARTBLOCK (and 0
is still "all done, sod off to userland now").  And let the asm
glue flip scno to restart_syscall(2) one if it got negative from
us...

[will: resolved conflicts with audit fixes]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/thread_info.h
arch/arm/kernel/entry-common.S
arch/arm/kernel/ptrace.c
arch/arm/kernel/signal.c