s390/mm: Convert pgprot_val() into function
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 4 Mar 2025 08:14:31 +0000 (09:14 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 11 Mar 2025 14:27:34 +0000 (15:27 +0100)
commitbb2598c0d31bca8e57662b7d203e1876cd7f455f
treea61c7304db17f34c9f7c4f7cf9f4549fe82bcd3b
parentf8c425a94bad5bef4c31792de931470ab5e4bfae
s390/mm: Convert pgprot_val() into function

Convert pgprot_val() into a function similar to other mm primitives like
e.g. pte_val(). This disallows usage as an lvalue; however there aren't any
such users left, except for some architecture specific ones.

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