s390: fix system call restart after inferior call
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Sep 2013 13:24:38 +0000 (15:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 30 Sep 2013 11:04:40 +0000 (13:04 +0200)
commitdbbfe487e5f3fc00c9fe5207d63309859704d12f
treeafa7a57191434a8838f450986ca5a22b255990d7
parent4d3b0664a0d0c0dc7501cfbd067f74226aeca510
s390: fix system call restart after inferior call

Git commit 616498813b11ffef "s390: system call path micro optimization"
introduced a regression in regard to system call restarting and inferior
function calls via the ptrace interface. The pointer to the system call
table needs to be loaded in sysc_sigpending if do_signal returns with
TIF_SYSCALl set after it restored a system call context.

Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/entry.S
arch/s390/kernel/entry64.S