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