summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/hugetlb.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/hugetlb.h')
-rw-r--r--arch/riscv/include/asm/hugetlb.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/riscv/include/asm/hugetlb.h b/arch/riscv/include/asm/hugetlb.h
index 728a5db66597..a5c2ca1d1cd8 100644
--- a/arch/riscv/include/asm/hugetlb.h
+++ b/arch/riscv/include/asm/hugetlb.h
@@ -5,14 +5,4 @@
#include <asm-generic/hugetlb.h>
#include <asm/page.h>
-static inline int is_hugepage_only_range(struct mm_struct *mm,
- unsigned long addr,
- unsigned long len) {
- return 0;
-}
-
-static inline void arch_clear_hugepage_flags(struct page *page)
-{
-}
-
#endif /* _ASM_RISCV_HUGETLB_H */