From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzTZp-0004Xd-Ti for qemu-devel@nongnu.org; Wed, 26 Oct 2016 15:09:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzTZl-0004Nb-Uu for qemu-devel@nongnu.org; Wed, 26 Oct 2016 15:09:29 -0400 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:33881) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzTZl-0004NG-QV for qemu-devel@nongnu.org; Wed, 26 Oct 2016 15:09:25 -0400 Received: by mail-qk0-x244.google.com with SMTP id n189so856266qke.1 for ; Wed, 26 Oct 2016 12:09:25 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Wed, 26 Oct 2016 12:08:52 -0700 Message-Id: <1477508932-5827-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH v2] linux-user: Fix s390x safe-syscall for z900 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Riku Voipio The LT instruction was added in the extended immediate facility introduced with the z9-109 processor. Cc: Riku Voipio Reported-by: Michael Tokarev Fixes: c9bc3437a905b660561a26cd4ecc64579843267b Suggested-by: Aurelien Jarno Signed-off-by: Richard Henderson --- linux-user/host/s390x/safe-syscall.inc.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/host/s390x/safe-syscall.inc.S b/linux-user/host/s390x/safe-syscall.inc.S index f1b446a..414b44a 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: -- 2.7.4