From 1bd73c68f98ebba390f4cfabd9a2b2e2bae2a533 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Tue, 22 Feb 2022 12:00:05 +0100 Subject: [PATCH] zipl/boot: don't use lt to test value in tape0.S MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This instruction is not present on older machines, therefore use ltr. Signed-off-by: Sven Schnelle Fixes: 1627c6a39f1c ("zipl: Support command lines longer than 896 bytes in bootloader") Signed-off-by: Jan Höppner --- zipl/boot/tape0.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zipl/boot/tape0.S b/zipl/boot/tape0.S index c42d3b91..8a068897 100644 --- a/zipl/boot/tape0.S +++ b/zipl/boot/tape0.S @@ -249,7 +249,8 @@ iplstart: clc 0(3,%r4),.L_eof # if it is EOFx bz .Lagain1 # skip dateset trailer - lt %r3,MAX_COMMAND_LINE_SIZE-PARMAREA+4(%r12) + l %r3,MAX_COMMAND_LINE_SIZE-PARMAREA+4(%r12) + ltr %r3,%r3 jnz 0f lhi %r3,LEGACY_COMMAND_LINE_SIZE 0: cr %r2,%r3 # truncate if line too long