|
@@ -99,9 +99,9 @@ int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep);
|
|
|
struct page *follow_huge_addr(struct mm_struct *mm, unsigned long address,
|
|
struct page *follow_huge_addr(struct mm_struct *mm, unsigned long address,
|
|
|
int write);
|
|
int write);
|
|
|
struct page *follow_huge_pmd(struct mm_struct *mm, unsigned long address,
|
|
struct page *follow_huge_pmd(struct mm_struct *mm, unsigned long address,
|
|
|
- pmd_t *pmd, int write);
|
|
|
|
|
|
|
+ pmd_t *pmd, int flags);
|
|
|
struct page *follow_huge_pud(struct mm_struct *mm, unsigned long address,
|
|
struct page *follow_huge_pud(struct mm_struct *mm, unsigned long address,
|
|
|
- pud_t *pud, int write);
|
|
|
|
|
|
|
+ pud_t *pud, int flags);
|
|
|
int pmd_huge(pmd_t pmd);
|
|
int pmd_huge(pmd_t pmd);
|
|
|
int pud_huge(pud_t pmd);
|
|
int pud_huge(pud_t pmd);
|
|
|
unsigned long hugetlb_change_protection(struct vm_area_struct *vma,
|
|
unsigned long hugetlb_change_protection(struct vm_area_struct *vma,
|
|
@@ -133,8 +133,8 @@ static inline void hugetlb_report_meminfo(struct seq_file *m)
|
|
|
static inline void hugetlb_show_meminfo(void)
|
|
static inline void hugetlb_show_meminfo(void)
|
|
|
{
|
|
{
|
|
|
}
|
|
}
|
|
|
-#define follow_huge_pmd(mm, addr, pmd, write) NULL
|
|
|
|
|
-#define follow_huge_pud(mm, addr, pud, write) NULL
|
|
|
|
|
|
|
+#define follow_huge_pmd(mm, addr, pmd, flags) NULL
|
|
|
|
|
+#define follow_huge_pud(mm, addr, pud, flags) NULL
|
|
|
#define prepare_hugepage_range(file, addr, len) (-EINVAL)
|
|
#define prepare_hugepage_range(file, addr, len) (-EINVAL)
|
|
|
#define pmd_huge(x) 0
|
|
#define pmd_huge(x) 0
|
|
|
#define pud_huge(x) 0
|
|
#define pud_huge(x) 0
|