diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2023-09-25 21:31:43 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-10-19 09:12:46 +0300 |
commit | 8e9bd41e4ce1001f5b89e4c9a69f870f39d56c12 (patch) | |
tree | 4cc316f8970edf22d0d6613f0848b2c0b5fc6e8a /scripts/gdb/linux/utils.py | |
parent | d20506d4728c3b7408e84d9aececbcb78c3061ee (diff) | |
download | linux-8e9bd41e4ce1001f5b89e4c9a69f870f39d56c12.tar.xz |
powerpc/nohash: Replace pte_user() by pte_read()
pte_user() is now only used in pte_access_permitted() to check
access on vmas. User flag is cleared to make a page unreadable.
So rename it pte_read() and remove pte_user() which isn't used
anymore.
For the time being it checks _PAGE_USER but in the near futur
all plateforms will be converted to _PAGE_READ so lets support
both for now.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/72cbb5be595e9ef884140def73815ed0b0b37010.1695659959.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions