s390/smp: cleanup control register update routines
authorAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 17 Mar 2022 14:03:02 +0000 (15:03 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Sun, 27 Mar 2022 20:18:39 +0000 (22:18 +0200)
commit9097fc793f74ef9c677f8c4aed0c24f6f07f0133
tree99665808ffa32d536492c332e87cfa92e1249bdc
parentdc2ab23b992c9d5dab93b9bf01b10b10465e537e
s390/smp: cleanup control register update routines

Get rid of duplicate code and redundant data.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/ctl_reg.h
arch/s390/kernel/smp.c