[S390] ptrace inferior call interactions with TIF_SYSCALL
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 1 Dec 2011 12:32:15 +0000 (13:32 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 1 Dec 2011 12:32:17 +0000 (13:32 +0100)
commitd9ae6772d3a3d7325d535577d9fd09c0de8a9da3
tree120686dcbc091c5f2b5d89db4859553121d9f7b2
parent5f894cbb6890d317699aa622b4dc9d73d009cd22
[S390] ptrace inferior call interactions with TIF_SYSCALL

The TIF_SYSCALL bit needs to be cleared if the debugger changes the state
of the ptraced process in regard to the presence of a system call.
Otherwise the system call will be restarted although the debugger set up
an inferior call.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/signal.c