diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2022-02-21 21:18:29 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2022-03-01 21:05:10 +0100 |
commit | f29111f117aaafa2887e13923f6e88fc11f5e065 (patch) | |
tree | 8cbd2366d6c52dd3aca1270a17adb896b600683b /arch/s390/mm/pgtable.c | |
parent | e2aaae2d3677563c1bb6cd15fbddd701381823be (diff) |
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/pgtable.c')
0 files changed, 0 insertions, 0 deletions