summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/hugetlb.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/hugetlb.h')
-rw-r--r--arch/x86/include/asm/hugetlb.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/hugetlb.h b/arch/x86/include/asm/hugetlb.h
index 42d872054791..3cd3a2c9840e 100644
--- a/arch/x86/include/asm/hugetlb.h
+++ b/arch/x86/include/asm/hugetlb.h
@@ -28,11 +28,6 @@ static inline int prepare_hugepage_range(struct file *file,
return 0;
}
-static inline pte_t huge_pte_wrprotect(pte_t pte)
-{
- return pte_wrprotect(pte);
-}
-
static inline void huge_ptep_set_wrprotect(struct mm_struct *mm,
unsigned long addr, pte_t *ptep)
{