at v6.2 22 lines 441 B view raw
1#ifndef _ASM_RISCV_VMALLOC_H 2#define _ASM_RISCV_VMALLOC_H 3 4#ifdef CONFIG_HAVE_ARCH_HUGE_VMAP 5 6#define IOREMAP_MAX_ORDER (PUD_SHIFT) 7 8#define arch_vmap_pud_supported arch_vmap_pud_supported 9static inline bool arch_vmap_pud_supported(pgprot_t prot) 10{ 11 return true; 12} 13 14#define arch_vmap_pmd_supported arch_vmap_pmd_supported 15static inline bool arch_vmap_pmd_supported(pgprot_t prot) 16{ 17 return true; 18} 19 20#endif 21 22#endif /* _ASM_RISCV_VMALLOC_H */