aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/mm/hugetlbpage.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2022-02-21 21:24:01 +0100
committerVasily Gorbik <gor@linux.ibm.com>2022-03-01 21:05:10 +0100
commit4a366f519a3c8883a6bc24efa710bc0e75bc3558 (patch)
treeb1df36e712c405a6d1ad7c8c201b300678256e89 /arch/s390/mm/hugetlbpage.c
parents390/mm: use set_pXd()/set_pte() helper functions everywhere (diff)
downloadlinux-dev-4a366f519a3c8883a6bc24efa710bc0e75bc3558.tar.xz
linux-dev-4a366f519a3c8883a6bc24efa710bc0e75bc3558.zip
s390/mm,pgtable: don't use pte_val()/pXd_val() as lvalue
Convert pgtable code so pte_val()/pXd_val() aren't used as lvalue anymore. This allows in later step to convert pte_val()/pXd_val() to functions, which in turn makes it impossible to use these macros to modify page table entries like they have been used before. Therefore a construct like this: pte_val(*pte) = __pa(addr) | prot; which would directly write into a page table, isn't possible anymore with the last step of this series. 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>
Diffstat (limited to 'arch/s390/mm/hugetlbpage.c')
0 files changed, 0 insertions, 0 deletions