powerpc/mm: remove pmd_huge/pud_huge stubs and include hugetlb.h
[platform/kernel/linux-rpi.git] / arch / powerpc / include / asm / book3s / 64 / pgtable-64k.h
index e3d4dd4..34d1018 100644 (file)
@@ -59,9 +59,6 @@ static inline int get_hugepd_cache_index(int index)
        BUG();
 }
 
        BUG();
 }
 
-#else /* !CONFIG_HUGETLB_PAGE */
-static inline int pmd_huge(pmd_t pmd) { return 0; }
-static inline int pud_huge(pud_t pud) { return 0; }
 #endif /* CONFIG_HUGETLB_PAGE */
 
 static inline int remap_4k_pfn(struct vm_area_struct *vma, unsigned long addr,
 #endif /* CONFIG_HUGETLB_PAGE */
 
 static inline int remap_4k_pfn(struct vm_area_struct *vma, unsigned long addr,