xref: /openbmc/linux/arch/arm/include/asm/hugetlb.h (revision 3ddc8b84)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * arch/arm/include/asm/hugetlb.h
4  *
5  * Copyright (C) 2012 ARM Ltd.
6  *
7  * Based on arch/x86/include/asm/hugetlb.h
8  */
9 
10 #ifndef _ASM_ARM_HUGETLB_H
11 #define _ASM_ARM_HUGETLB_H
12 
13 #include <asm/cacheflush.h>
14 #include <asm/page.h>
15 #include <asm/hugetlb-3level.h>
16 #include <asm-generic/hugetlb.h>
17 
18 static inline void arch_clear_hugepage_flags(struct page *page)
19 {
20 	clear_bit(PG_dcache_clean, &page->flags);
21 }
22 #define arch_clear_hugepage_flags arch_clear_hugepage_flags
23 
24 #endif /* _ASM_ARM_HUGETLB_H */
25