diff options
Diffstat (limited to 'include/asm-generic/pgtable.h')
| -rw-r--r-- | include/asm-generic/pgtable.h | 5 |
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); | |||
| 1057 | int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot); | 1057 | int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot); |
| 1058 | int pud_clear_huge(pud_t *pud); | 1058 | int pud_clear_huge(pud_t *pud); |
| 1059 | int pmd_clear_huge(pmd_t *pmd); | 1059 | int pmd_clear_huge(pmd_t *pmd); |
| 1060 | int p4d_free_pud_page(p4d_t *p4d, unsigned long addr); | ||
| 1060 | int pud_free_pmd_page(pud_t *pud, unsigned long addr); | 1061 | int pud_free_pmd_page(pud_t *pud, unsigned long addr); |
| 1061 | int pmd_free_pte_page(pmd_t *pmd, unsigned long addr); | 1062 | int 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 | } |
| 1088 | static inline int p4d_free_pud_page(p4d_t *p4d, unsigned long addr) | ||
| 1089 | { | ||
| 1090 | return 0; | ||
| 1091 | } | ||
| 1087 | static inline int pud_free_pmd_page(pud_t *pud, unsigned long addr) | 1092 | static inline int pud_free_pmd_page(pud_t *pud, unsigned long addr) |
| 1088 | { | 1093 | { |
| 1089 | return 0; | 1094 | return 0; |
