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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2013 23:08:34 +0000 (16:08 -0700)
commit98e00cd81b76f8b50b881bf3ac532fa1ab42931c
tree971ff61e21c10d7c7526c97f11a0f5f83bd7ddbd
parentbc30c3576d85f7d02f5620cbe8d03f4064c6a73a
s390: fix system call restart after inferior call

commit dbbfe487e5f3fc00c9fe5207d63309859704d12f upstream.

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.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kernel/entry.S
arch/s390/kernel/entry64.S