mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/boot: don't use lt to test value in tape0.S
This instruction is not present on older machines, therefore
use ltr.
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Fixes: 1627c6a39f ("zipl: Support command lines longer than 896 bytes in bootloader")
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
47016441f0
commit
1bd73c68f9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user