linux-user: Fix s390x safe-syscall for z900
PATCH 1/1 linux-user: Fix s390x safe-syscall for z900
The LT instruction was added in the extended immediate facility introduced with the z9-109 processor.
Reported-by Michael Tokarev <[email protected]>
Fixes c9bc3437a905b660561a26cd4ecc64579843267b
Signed-off-by Richard Henderson <[email protected]>
--- linux-user/host/s390x/safe-syscall.inc.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
linux-user/host/s390x/safe-syscall.inc.S +2 -1
@@ -72,7 +72,8 @@ safe_syscall_base: */ safe_syscall_start: /* if signal_pending is non-zero, don't do the call */ - lt %r0,0(%r8) + l %r0,0(%r8) + ltr %r0,%r0 jne 2f svc 0 safe_syscall_end:
Signature · 1 line
2.7.4
Quoted 15 lines · Richard Henderson
The LT instruction was added in the extended immediate facility introduced with the z9-109 processor.
Reported-by Michael Tokarev <[email protected]>Fixes c9bc3437a905b660561a26cd4ecc64579843267bSigned-off-by Richard Henderson <[email protected]>--- linux-user/host/s390x/safe-syscall.inc.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)linux-user/host/s390x/safe-syscall.inc.S +0
-0
linux-user/host/s390x/safe-syscall.inc.S safe_syscall_base: · line 79
Quoted 9 lines
linux-user/host/s390x/safe-syscall.inc.S +2
-1@@ -72,7 +72,8 @@ safe_syscall_base: */ safe_syscall_start: /* if signal_pending is non-zero, don't do the call */ - lt %r0,0(%r8) + l %r0,0(%r8) + ltr %r0,%r0 jne 2f svc 0 safe_syscall_end:
Reviewed-by Thomas Huth <[email protected]>