summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/cacheflush.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@arm.com>2019-05-23 12:22:54 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2019-06-24 19:10:39 +0200
commit4739d53fcd1df8a9f6f72bb02a3a1d852ad252b3 (patch)
treee5f824c41f3e1de19dc0f4df5401bad920abf0ba /arch/arm64/include/asm/cacheflush.h
parentarm64: module: create module allocations without exec permissions (diff)
downloadlinux-4739d53fcd1df8a9f6f72bb02a3a1d852ad252b3.tar.xz
linux-4739d53fcd1df8a9f6f72bb02a3a1d852ad252b3.zip
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/asm/cacheflush.h')
-rw-r--r--arch/arm64/include/asm/cacheflush.h3
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