diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-02-21 23:18:29 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2022-03-01 23:05:10 +0300 |
commit | f29111f117aaafa2887e13923f6e88fc11f5e065 (patch) | |
tree | 8cbd2366d6c52dd3aca1270a17adb896b600683b /arch/s390/mm/hugetlbpage.c | |
parent | e2aaae2d3677563c1bb6cd15fbddd701381823be (diff) | |
download | linux-f29111f117aaafa2887e13923f6e88fc11f5e065.tar.xz |
s390/mm: add set_pte_bit()/clear_pte_bit() helper functions
Add set_pte_bit()/clear_pte_bit() and set_pXd_bit()/clear_pXd_bit
helper functions which are supposed to be used if bits within
ptes/pXds are set/cleared.
The only point of these helper functions is to get more readable
code. This is quite similar to what arm64 has.
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