s390/ctlreg: add type checking to __local_ctl_load() and __local_ctl_store()
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 11 Sep 2023 19:40:03 +0000 (21:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 19 Sep 2023 11:26:56 +0000 (13:26 +0200)
commitecc53818f60447177e24ea11b7f136c405150976
tree11faff71cc0ad2c37aba56955510388fad458c32
parent4b440e01da51da0cc651c06a036b8914b7b61ccf
s390/ctlreg: add type checking to __local_ctl_load() and __local_ctl_store()

Add type checking to __local_ctl_load() and __local_ctl_store(). For
both functions enforce to pass an array consisting of unsigned longs.

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>
arch/s390/include/asm/ctlreg.h