summaryrefslogtreecommitdiffstats
path: root/linux-user/host
diff options
context:
space:
mode:
authorRichard Henderson2016-10-26 21:08:52 +0200
committerLaurent Vivier2017-02-14 17:18:03 +0100
commit6cde51769e75d41cade0a5b3755da0c20a96309a (patch)
tree0f5d11acb16fc8fd7db2a3da2f0933c80db952f5 /linux-user/host
parentlinux-user: drop __cygwin__ ifdef (diff)
downloadqemu-6cde51769e75d41cade0a5b3755da0c20a96309a.tar.gz
qemu-6cde51769e75d41cade0a5b3755da0c20a96309a.tar.xz
qemu-6cde51769e75d41cade0a5b3755da0c20a96309a.zip
linux-user: Fix s390x safe-syscall for z900
The LT instruction was added in the extended immediate facility introduced with the z9-109 processor. Cc: Riku Voipio <riku.voipio@iki.fi> Reported-by: Michael Tokarev <mjt@tls.msk.ru> Fixes: c9bc3437a905b660561a26cd4ecc64579843267b Suggested-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/host')
-rw-r--r--linux-user/host/s390x/safe-syscall.inc.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/host/s390x/safe-syscall.inc.S b/linux-user/host/s390x/safe-syscall.inc.S
index f1b446abf6..414b44ad38 100644
--- a/linux-user/host/s390x/safe-syscall.inc.S
+++ b/linux-user/host/s390x/safe-syscall.inc.S
@@ -72,7 +72,7 @@ safe_syscall_base:
*/
safe_syscall_start:
/* if signal_pending is non-zero, don't do the call */
- lt %r0,0(%r8)
+ icm %r0,15,0(%r8)
jne 2f
svc 0
safe_syscall_end: