aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/pgtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/pgtable.h')
-rw-r--r--include/asm-generic/pgtable.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h
index a9cac82e9a7a..05e61e6c843f 100644
--- a/include/asm-generic/pgtable.h
+++ b/include/asm-generic/pgtable.h
@@ -1057,6 +1057,7 @@ int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
1057int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot); 1057int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
1058int pud_clear_huge(pud_t *pud); 1058int pud_clear_huge(pud_t *pud);
1059int pmd_clear_huge(pmd_t *pmd); 1059int pmd_clear_huge(pmd_t *pmd);
1060int p4d_free_pud_page(p4d_t *p4d, unsigned long addr);
1060int pud_free_pmd_page(pud_t *pud, unsigned long addr); 1061int pud_free_pmd_page(pud_t *pud, unsigned long addr);
1061int pmd_free_pte_page(pmd_t *pmd, unsigned long addr); 1062int pmd_free_pte_page(pmd_t *pmd, unsigned long addr);
1062#else /* !CONFIG_HAVE_ARCH_HUGE_VMAP */ 1063#else /* !CONFIG_HAVE_ARCH_HUGE_VMAP */
@@ -1084,6 +1085,10 @@ static inline int pmd_clear_huge(pmd_t *pmd)
1084{ 1085{
1085 return 0; 1086 return 0;
1086} 1087}
1088static inline int p4d_free_pud_page(p4d_t *p4d, unsigned long addr)
1089{
1090 return 0;
1091}
1087static inline int pud_free_pmd_page(pud_t *pud, unsigned long addr) 1092static inline int pud_free_pmd_page(pud_t *pud, unsigned long addr)
1088{ 1093{
1089 return 0; 1094 return 0;