1 #ifndef _ASM_POWERPC_VMALLOC_H
2 #define _ASM_POWERPC_VMALLOC_H
7 #ifdef CONFIG_HAVE_ARCH_HUGE_VMAP
9 #define arch_vmap_pud_supported arch_vmap_pud_supported
10 static inline bool arch_vmap_pud_supported(pgprot_t prot)
12 /* HPT does not cope with large pages in the vmalloc area */
13 return radix_enabled();
16 #define arch_vmap_pmd_supported arch_vmap_pmd_supported
17 static inline bool arch_vmap_pmd_supported(pgprot_t prot)
19 return radix_enabled();
24 #endif /* _ASM_POWERPC_VMALLOC_H */