@@ -131,7 +131,8 @@ int move_hugetlb_page_tables(struct vm_area_struct *vma,
131131int copy_hugetlb_page_range (struct mm_struct * , struct mm_struct * ,
132132 struct vm_area_struct * , struct vm_area_struct * );
133133struct page * hugetlb_follow_page_mask (struct vm_area_struct * vma ,
134- unsigned long address , unsigned int flags );
134+ unsigned long address , unsigned int flags ,
135+ unsigned int * page_mask );
135136long follow_hugetlb_page (struct mm_struct * , struct vm_area_struct * ,
136137 struct page * * , unsigned long * , unsigned long * ,
137138 long , unsigned int , int * );
@@ -297,8 +298,9 @@ static inline void adjust_range_if_pmd_sharing_possible(
297298{
298299}
299300
300- static inline struct page * hugetlb_follow_page_mask (struct vm_area_struct * vma ,
301- unsigned long address , unsigned int flags )
301+ static inline struct page * hugetlb_follow_page_mask (
302+ struct vm_area_struct * vma , unsigned long address , unsigned int flags ,
303+ unsigned int * page_mask )
302304{
303305 BUILD_BUG (); /* should never be compiled in if !CONFIG_HUGETLB_PAGE*/
304306}
0 commit comments