diff options
author | Alexandre Ghiti <[email protected]> | 2020-02-20 01:10:23 -0500 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2020-03-05 13:09:59 -0800 |
commit | 3133287b53ee88444e2294e601d2bad54a798f59 (patch) | |
tree | c366b2406e666ce7edebe424077e2ef40a069830 /drivers/usb/cdns3/cdns3-debug.h | |
parent | abc71bf0a70311ab294f97a7f16e8de03718c05a (diff) |
riscv: Use p*d_leaf macros to define p*d_huge
The newly introduced p*d_leaf macros allow to check if an entry of the
page table map to a physical page instead of the next level. To avoid
duplication of code, use those macros to determine if a page table entry
points to a hugepage.
Suggested-by: Paul Walmsley <[email protected]>
Signed-off-by: Alexandre Ghiti <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions