s390/smp: cleanup control register update routines
authorAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 17 Mar 2022 14:03:02 +0000 (15:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:24:12 +0000 (14:24 +0200)
commitac0a3e2131bdb18ceec88041aa57e70d7e8c5dd5
treefbdc5eaa63cc2ab036679d3e3896254a7d0ec131
parenta002b864125470c6fd0737fbbdec0c250ead96a3
s390/smp: cleanup control register update routines

[ Upstream commit 9097fc793f74ef9c677f8c4aed0c24f6f07f0133 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/include/asm/ctl_reg.h
arch/s390/kernel/smp.c