s390/ctlreg: use local_ctl_load() and local_ctl_store() where possible
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 11 Sep 2023 19:40:00 +0000 (21:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 19 Sep 2023 11:26:56 +0000 (13:26 +0200)
commit2372d391421350e318c98844d21ab9ad16e3eac0
treeef23030da35c0b5a005c8ae3556306d26bd16724
parentdfa33ce1245a4b88402947fa0a847e179044d2fc
s390/ctlreg: use local_ctl_load() and local_ctl_store() where possible

Convert all single control register usages of __local_ctl_load() and
__local_ctl_store() to local_ctl_load() and local_ctl_store().

This also requires to change the type of some struct lowcore members
from __u64 to unsigned long.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
12 files changed:
arch/s390/boot/vmem.c
arch/s390/include/asm/ctlreg.h
arch/s390/include/asm/lowcore.h
arch/s390/include/asm/mmu_context.h
arch/s390/kernel/machine_kexec.c
arch/s390/kernel/nmi.c
arch/s390/kernel/ptrace.c
arch/s390/kernel/setup.c
arch/s390/lib/uaccess.c
arch/s390/mm/pgalloc.c
drivers/s390/char/sclp.c
drivers/s390/char/sclp_early_core.c