s390/facilities: move stfl information from lowcore to global data
authorSven Schnelle <svens@linux.ibm.com>
Wed, 5 May 2021 20:01:10 +0000 (22:01 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Jun 2021 15:06:58 +0000 (17:06 +0200)
commit17e89e1340a377b2f14a14d7050f609328592793
tree603bb316ce5b2116d4689da9d31236234418b1c7
parentaf9ad82290a58b3f1cc02d12459e3396eee04187
s390/facilities: move stfl information from lowcore to global data

With gcc-11, there are a lot of warnings because the facility functions
are accessing lowcore through a null pointer. Fix this by moving the
facility arrays away from lowcore.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
14 files changed:
arch/s390/boot/als.c
arch/s390/boot/ipl_parm.c
arch/s390/boot/startup.c
arch/s390/include/asm/facility.h
arch/s390/include/asm/lowcore.h
arch/s390/kernel/alternative.c
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/early.c
arch/s390/kernel/nospec-branch.c
arch/s390/kernel/nospec-sysfs.c
arch/s390/kernel/processor.c
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c
arch/s390/kvm/kvm-s390.c