summaryrefslogtreecommitdiff
path: root/arch/um/include/asm/cacheflush.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/asm/cacheflush.h')
-rw-r--r--arch/um/include/asm/cacheflush.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/um/include/asm/cacheflush.h b/arch/um/include/asm/cacheflush.h
new file mode 100644
index 000000000000..4c9858cd36ec
--- /dev/null
+++ b/arch/um/include/asm/cacheflush.h
@@ -0,0 +1,9 @@
+#ifndef __UM_ASM_CACHEFLUSH_H
+#define __UM_ASM_CACHEFLUSH_H
+
+#include <asm/tlbflush.h>
+#define flush_cache_vmap flush_tlb_kernel_range
+#define flush_cache_vunmap flush_tlb_kernel_range
+
+#include <asm-generic/cacheflush.h>
+#endif /* __UM_ASM_CACHEFLUSH_H */