Message ID | 20170125063659.GD23406@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
===8<=== diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h index 1904a7c07018..dc11d4bf332c 100644 --- a/arch/arm64/include/asm/pgtable.h +++ b/arch/arm64/include/asm/pgtable.h @@ -467,6 +467,8 @@ static inline phys_addr_t pud_page_paddr(pud_t pud) #else +#define pud_valid(pud) (1) + #define pud_page_paddr(pud) ({ BUILD_BUG(); 0; }) /* Match pmd_offset folding in <asm/generic/pgtable-nopmd.h> */ @@ -520,6 +522,8 @@ static inline phys_addr_t pgd_page_paddr(pgd_t pgd) #else +#define pgd_valid(pgd) (1) + #define pgd_page_paddr(pgd) ({ BUILD_BUG(); 0;}) /* Match pud_offset folding in <asm/generic/pgtable-nopud.h> */