diff options
author | Ard Biesheuvel <ard.biesheuvel@arm.com> | 2019-05-23 13:22:54 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-06-24 20:10:39 +0300 |
commit | 4739d53fcd1df8a9f6f72bb02a3a1d852ad252b3 (patch) | |
tree | e5f824c41f3e1de19dc0f4df5401bad920abf0ba /arch/arm64/include | |
parent | 7dfac3c5f40eb92841147eccf1b96f428b10131f (diff) | |
download | linux-4739d53fcd1df8a9f6f72bb02a3a1d852ad252b3.tar.xz |
arm64/mm: wire up CONFIG_ARCH_HAS_SET_DIRECT_MAP
Wire up the special helper functions to manipulate aliases of vmalloc
regions in the linear map.
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/cacheflush.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cacheflush.h b/arch/arm64/include/asm/cacheflush.h index 19844211a4e6..b9ee5510067f 100644 --- a/arch/arm64/include/asm/cacheflush.h +++ b/arch/arm64/include/asm/cacheflush.h @@ -187,4 +187,7 @@ static inline void flush_cache_vunmap(unsigned long start, unsigned long end) int set_memory_valid(unsigned long addr, int numpages, int enable); +int set_direct_map_invalid_noflush(struct page *page); +int set_direct_map_default_noflush(struct page *page); + #endif |