|
@@ -47,7 +47,12 @@ static inline int hugepd_ok(hugepd_t hpd)
|
|
|
return hash__hugepd_ok(hpd);
|
|
|
}
|
|
|
#define is_hugepd(hpd) (hugepd_ok(hpd))
|
|
|
+
|
|
|
+#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 */
|
|
|
+
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
|
|
#endif /*_ASM_POWERPC_BOOK3S_64_PGTABLE_4K_H */
|