xref: /linux/arch/riscv/include/asm/hugetlb.h (revision 37744feebc086908fd89760650f458ab19071750)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_RISCV_HUGETLB_H
3 #define _ASM_RISCV_HUGETLB_H
4 
5 #include <asm-generic/hugetlb.h>
6 #include <asm/page.h>
7 
8 static inline int is_hugepage_only_range(struct mm_struct *mm,
9 					 unsigned long addr,
10 					 unsigned long len) {
11 	return 0;
12 }
13 
14 static inline void arch_clear_hugepage_flags(struct page *page)
15 {
16 }
17 
18 #endif /* _ASM_RISCV_HUGETLB_H */
19