]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/boot: do not check for zero-termination relocation entry
authorAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 21 Feb 2024 12:41:45 +0000 (13:41 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 26 Feb 2024 09:25:09 +0000 (10:25 +0100)
commit923d48e48033b37ef77323d2cd48771d68160c96
tree985efb0b1c97167097252354764501ff611eb0bb
parent4394a50792346ec291d1bbde6da7571f799a6f12
s390/boot: do not check for zero-termination relocation entry

The relocation table is not expected to contain a zero-termination
entry. The existing check is likely a left-over from similar x86
code that uses zero-entries as delimiters. s390 does not have ones
and therefore the check could be avoided.

Suggested-by: Ilya Leoshkevich <iii@linux.ibm.com>
Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/boot/startup.c