arm: new way of handling ERESTART_RESTARTBLOCK
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 3 May 2012 01:02:03 +0000 (21:02 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 21 May 2012 18:39:11 +0000 (14:39 -0400)
commit6b5c8045ecc7e726cdaa2a9d9c8e5008050e1252
tree2bf168797818da579310adcd192765fcbe34ae87
parent21c1176a72bd019d513b26e05d491a31b50b18d2
arm: new way of handling ERESTART_RESTARTBLOCK

new "syscall start" flag; handled in syscall_trace() by switching
syscall number to that of syscall_restart(2).  Restarts of that
kind (ERESTART_RESTARTBLOCK) are handled by setting that bit;
syscall number is not modified until the actual call.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/arm/include/asm/thread_info.h
arch/arm/kernel/ptrace.c
arch/arm/kernel/signal.c