s390/boot: simplify GOT handling
authorAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 21 Feb 2024 10:51:55 +0000 (11:51 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 26 Feb 2024 09:25:09 +0000 (10:25 +0100)
commit3334fda639cfa7bb27a457f85f4ce06d622e0511
tree21cb04dd36f253d1b63c8100a311202565870eec
parenta795e5d2347def129734a7f247ac70339d50d8c2
s390/boot: simplify GOT handling

The end of GOT is calculated dynamically on boot. The size of GOT
is calculated on build from the start and end of GOT. Avoid both
calculations and use the end of GOT directly.

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/boot.h
arch/s390/boot/startup.c
arch/s390/kernel/vmlinux.lds.S