s390/mm: use set_memory_*() helpers instead of open coding
authorHeiko Carstens <hca@linux.ibm.com>
Sun, 2 Apr 2023 18:55:18 +0000 (20:55 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 13 Apr 2023 15:36:26 +0000 (17:36 +0200)
commitf9b2d96c4fa4475929e26cbac4027801d93c6e53
tree25792e47c6a9a590ed41c0c137e78a7b006feed7
parentf0a2a7c527849bf1b112a43f0b8d0658a7b4e6ec
s390/mm: use set_memory_*() helpers instead of open coding

Given that set_memory_rox() and set_memory_rwnx() exist, it is possible
to get rid of all open coded __set_memory() usages and replace them with
proper helper calls everywhere.

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/kernel/kprobes.c
arch/s390/mm/init.c
arch/s390/mm/vmem.c