#ifndef _ASM_POWERPC_HUGETLB_H#define _ASM_POWERPC_HUGETLB_H#include <asm/page.h>intis_hugepage_only_range(structmm_struct*mm,unsignedlongaddr,unsignedlonglen);voidhugetlb_free_pgd_range(structmmu_gather**tlb,unsignedlongaddr,unsignedlongend,unsignedlongfloor,unsignedlongceiling);voidset_huge_pte_at(structmm_struct*mm,unsignedlongaddr,pte_t*ptep,pte_tpte);pte_thuge_ptep_get_and_clear(structmm_struct*mm,unsignedlongaddr,pte_t*ptep);/* * If the arch doesn't supply something else, assume that hugepage * size aligned regions are ok without further preparation. */staticinlineintprepare_hugepage_range(unsignedlongaddr,unsignedlonglen){if(len&~HPAGE_MASK)return-EINVAL;if(addr&~HPAGE_MASK)return-EINVAL;return0;}staticinlinevoidhugetlb_prefault_arch_hook(structmm_struct*mm){}#endif /* _ASM_POWERPC_HUGETLB_H */