mm: Update generic gup implementation to handle hugepage directory
[cascardo/linux.git] / arch / powerpc / include / asm / page.h
index 26fe1ae..f973fce 100644 (file)
@@ -380,6 +380,7 @@ static inline int hugepd_ok(hugepd_t hpd)
 #endif
 
 #define is_hugepd(pdep)               (hugepd_ok(*((hugepd_t *)(pdep))))
+#define pgd_huge pgd_huge
 int pgd_huge(pgd_t pgd);
 #else /* CONFIG_HUGETLB_PAGE */
 #define is_hugepd(pdep)                        0