diff options
author | Christoph Hellwig <[email protected]> | 2020-04-08 17:27:44 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-04-23 11:31:52 +0200 |
commit | d073569363d9f076a568ce8c31250d332ccf33ce (patch) | |
tree | fad4fb2feef01017127e1ca31cffe129a658f402 /scripts/gdb/linux/lists.py | |
parent | 7fa3e10f0f3646108a1018004d0f571c3222dc9f (diff) |
x86/mm: Cleanup pgprot_4k_2_large() and pgprot_large_2_4k()
Make use of lower level helpers that operate on the raw protection
values to make the code a little easier to understand, and to also
avoid extra conversions in a few callers.
[ Qian: Fix a wrongly placed bracket in the original submission.
Reported and fixed by Qian Cai <[email protected]>. Details in second
Link: below. ]
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions