David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 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 */ |