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 is_hugepage_only_range(struct mm_struct * mm,unsigned long addr,unsigned long len)8static inline int is_hugepage_only_range(struct mm_struct *mm, 9 unsigned long addr, 10 unsigned long len) { 11 return 0; 12 } 13 arch_clear_hugepage_flags(struct page * page)14static inline void arch_clear_hugepage_flags(struct page *page) 15 { 16 } 17 18 #endif /* _ASM_RISCV_HUGETLB_H */ 19