diff options
Diffstat (limited to 'arch/x86/include/asm/hugetlb.h')
| -rw-r--r-- | arch/x86/include/asm/hugetlb.h | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/hugetlb.h b/arch/x86/include/asm/hugetlb.h index 439a9acc132..68c05398bba 100644 --- a/arch/x86/include/asm/hugetlb.h +++ b/arch/x86/include/asm/hugetlb.h @@ -2,6 +2,7 @@  #define _ASM_X86_HUGETLB_H  #include <asm/page.h> +#include <asm-generic/hugetlb.h>  static inline int is_hugepage_only_range(struct mm_struct *mm, @@ -51,6 +52,7 @@ static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,  static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,  					 unsigned long addr, pte_t *ptep)  { +	ptep_clear_flush(vma, addr, ptep);  }  static inline int huge_pte_none(pte_t pte) @@ -90,4 +92,8 @@ static inline void arch_release_hugepage(struct page *page)  {  } +static inline void arch_clear_hugepage_flags(struct page *page) +{ +} +  #endif /* _ASM_X86_HUGETLB_H */  | 
