summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/entry.S
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2017-02-20 09:51:36 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-02-20 12:38:01 +0100
commitd24b98e3a9c66b16ed029e1b2bcdf3c90e9d82d9 (patch)
treefc12515370d2be8f0409cfab2e80e84330056a90 /arch/s390/kernel/entry.S
parent50a0d46c98b72cde3c6945f066c0adf31e4e8590 (diff)
downloadlinux-stable-d24b98e3a9c66b16ed029e1b2bcdf3c90e9d82d9.tar.gz
linux-stable-d24b98e3a9c66b16ed029e1b2bcdf3c90e9d82d9.tar.bz2
linux-stable-d24b98e3a9c66b16ed029e1b2bcdf3c90e9d82d9.zip
s390/syscall: fix single stepped system calls
Fix PER tracing of system calls after git commit 34525e1f7e8dc478 "s390: store breaking event address only for program checks" broke it. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/entry.S')
-rw-r--r--arch/s390/kernel/entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/entry.S b/arch/s390/kernel/entry.S
index 34ab7e8d6a76..db469fa11462 100644
--- a/arch/s390/kernel/entry.S
+++ b/arch/s390/kernel/entry.S
@@ -545,6 +545,7 @@ ENTRY(pgm_check_handler)
#
.Lpgm_svcper:
mvc __LC_RETURN_PSW(8),__LC_SVC_NEW_PSW
+ lghi %r13,__TASK_thread
larl %r14,.Lsysc_per
stg %r14,__LC_RETURN_PSW+8
lghi %r14,_PIF_SYSCALL | _PIF_PER_TRAP