s390/ctlreg: add struct ctlreg
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 11 Sep 2023 19:40:04 +0000 (21:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 19 Sep 2023 11:26:56 +0000 (13:26 +0200)
commit527618abb92793b9d4dba548d55822dcebd95317
treea33943001b1f0134ffc09e4cf0ecf1d267e44779
parentecc53818f60447177e24ea11b7f136c405150976
s390/ctlreg: add struct ctlreg

Add struct ctlreg to enforce strict type checking / usage for control
register functions.

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>
21 files changed:
arch/s390/boot/vmem.c
arch/s390/include/asm/ctlreg.h
arch/s390/include/asm/kprobes.h
arch/s390/include/asm/lowcore.h
arch/s390/include/asm/mmu_context.h
arch/s390/include/asm/pgtable.h
arch/s390/kernel/ctlreg.c
arch/s390/kernel/kprobes.c
arch/s390/kernel/machine_kexec.c
arch/s390/kernel/nmi.c
arch/s390/kernel/ptrace.c
arch/s390/kernel/setup.c
arch/s390/kernel/smp.c
arch/s390/lib/uaccess.c
arch/s390/mm/dump_pagetables.c
arch/s390/mm/fault.c
arch/s390/mm/init.c
arch/s390/mm/pageattr.c
arch/s390/mm/pgalloc.c
drivers/s390/char/sclp.c
drivers/s390/char/sclp_early_core.c