x86: move 2 and 3 level asm-generic defs into page-defs
Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
This commit is contained in:

committed by
Jeremy Fitzhardinge

parent
51c78eb3f0
commit
1dfc07aad5
@@ -58,8 +58,6 @@ static inline pudval_t native_pud_val(pud_t pud)
|
||||
return pud.pud;
|
||||
}
|
||||
#else /* PAGETABLE_LEVELS == 3 */
|
||||
#include <asm-generic/pgtable-nopud.h>
|
||||
|
||||
static inline pudval_t native_pud_val(pud_t pud)
|
||||
{
|
||||
return native_pgd_val(pud.pgd);
|
||||
@@ -82,8 +80,6 @@ static inline pmdval_t native_pmd_val(pmd_t pmd)
|
||||
}
|
||||
|
||||
#else /* PAGETABLE_LEVELS == 2 */
|
||||
#include <asm-generic/pgtable-nopmd.h>
|
||||
|
||||
static inline pmdval_t native_pmd_val(pmd_t pmd)
|
||||
{
|
||||
return native_pgd_val(pmd.pud.pgd);
|
||||
|
Reference in New Issue
Block a user