xref: /linux/arch/riscv/include/asm/hugetlb.h (revision b54a2377ec02d52b7bb5dab381e9a45ba0bc617a)
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 void arch_clear_hugepage_flags(struct page *page)
9 {
10 	clear_bit(PG_dcache_clean, &page->flags);
11 }
12 #define arch_clear_hugepage_flags arch_clear_hugepage_flags
13 
14 #endif /* _ASM_RISCV_HUGETLB_H */
15