]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6384d19512115cc8cfcec5a972b4f3e145e57a4
tree603bb316ce5b2116d4689da9d31236234418b1c7
parentc72985a1629ebd651fd9176a996f278322964da6
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