s390/mm: implement set_memory_rox()
authorHeiko Carstens <hca@linux.ibm.com>
Sun, 2 Apr 2023 18:55:16 +0000 (20:55 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 13 Apr 2023 15:36:26 +0000 (17:36 +0200)
commit22e99fa56443f19b96e2e888854bfc202dd97069
tree689aaca3105e99bfd14c51c951183389367f82a2
parentbac30ea9ef80624dfe4bf20c0fc2073dcc771a87
s390/mm: implement set_memory_rox()

Provide the s390 specific native set_memory_rox() implementation to avoid
frequent set_memory_ro(); set_memory_x() call pairs.

This is the s390 variant of commit 60463628c9e0 ("x86/mm: Implement native
set_memory_rox()").

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/set_memory.h