145051539SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 21355e2a6SCatalin Marinas /* 31355e2a6SCatalin Marinas * arch/arm/include/asm/hugetlb.h 41355e2a6SCatalin Marinas * 51355e2a6SCatalin Marinas * Copyright (C) 2012 ARM Ltd. 61355e2a6SCatalin Marinas * 71355e2a6SCatalin Marinas * Based on arch/x86/include/asm/hugetlb.h 81355e2a6SCatalin Marinas */ 91355e2a6SCatalin Marinas 101355e2a6SCatalin Marinas #ifndef _ASM_ARM_HUGETLB_H 111355e2a6SCatalin Marinas #define _ASM_ARM_HUGETLB_H 121355e2a6SCatalin Marinas 13*889690bcSHugh Dickins #include <asm/cacheflush.h> 141355e2a6SCatalin Marinas #include <asm/page.h> 151355e2a6SCatalin Marinas #include <asm/hugetlb-3level.h> 16544db759SAlexandre Ghiti #include <asm-generic/hugetlb.h> 171355e2a6SCatalin Marinas arch_clear_hugepage_flags(struct page * page)181355e2a6SCatalin Marinasstatic inline void arch_clear_hugepage_flags(struct page *page) 191355e2a6SCatalin Marinas { 201355e2a6SCatalin Marinas clear_bit(PG_dcache_clean, &page->flags); 211355e2a6SCatalin Marinas } 225be99343SAnshuman Khandual #define arch_clear_hugepage_flags arch_clear_hugepage_flags 231355e2a6SCatalin Marinas 241355e2a6SCatalin Marinas #endif /* _ASM_ARM_HUGETLB_H */ 25