Linux Audio

Check our new training course

Loading...
Note: File does not exist in v5.4.
 1#ifndef _ASM_POWERPC_VMALLOC_H
 2#define _ASM_POWERPC_VMALLOC_H
 3
 4#include <asm/mmu.h>
 5#include <asm/page.h>
 6
 7#ifdef CONFIG_HAVE_ARCH_HUGE_VMAP
 8
 9#define arch_vmap_pud_supported arch_vmap_pud_supported
10static __always_inline bool arch_vmap_pud_supported(pgprot_t prot)
11{
12	/* HPT does not cope with large pages in the vmalloc area */
13	return radix_enabled();
14}
15
16#define arch_vmap_pmd_supported arch_vmap_pmd_supported
17static __always_inline bool arch_vmap_pmd_supported(pgprot_t prot)
18{
19	return radix_enabled();
20}
21
22#endif
23
24#endif /* _ASM_POWERPC_VMALLOC_H */