diff options
author | Heiko Carstens <[email protected]> | 2022-02-21 21:24:51 +0100 |
---|---|---|
committer | Vasily Gorbik <[email protected]> | 2022-03-01 21:05:10 +0100 |
commit | 933b7253adf61eb4b7be2e7b1ec64217a5d8434c (patch) | |
tree | f8c984e78c3b1a67766af507b3d559a68567528d /arch/s390/mm/gmap.c | |
parent | 869a9dbc10d25c5544169209fd4284f1f570c233 (diff) |
s390/mm,hugetlb: 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: Claudio Imbrenda <[email protected]>
Reviewed-by: Alexander Gordeev <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'arch/s390/mm/gmap.c')
0 files changed, 0 insertions, 0 deletions