mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
mm: convert generic code to 5-level paging
Convert all non-architecture-specific code to 5-level paging. It's mostly mechanical adding handling one more page table level in places where we deal with pud_t. Signed-off-by: Kirill A. Shutemov <[email protected]> Acked-by: Michal Hocko <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
048456dcf2
commit
c2febafc67
23 changed files with 595 additions and 120 deletions
|
|
@ -22,6 +22,12 @@ void pgd_clear_bad(pgd_t *pgd)
|
|||
pgd_clear(pgd);
|
||||
}
|
||||
|
||||
void p4d_clear_bad(p4d_t *p4d)
|
||||
{
|
||||
p4d_ERROR(*p4d);
|
||||
p4d_clear(p4d);
|
||||
}
|
||||
|
||||
void pud_clear_bad(pud_t *pud)
|
||||
{
|
||||
pud_ERROR(*pud);
|
||||
|
|
|
|||
Loading…
Reference in a new issue