summaryrefslogtreecommitdiff
path: root/arch/csky/include/uapi/asm/cachectl.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/csky/include/uapi/asm/cachectl.h')
-rw-r--r--arch/csky/include/uapi/asm/cachectl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/csky/include/uapi/asm/cachectl.h b/arch/csky/include/uapi/asm/cachectl.h
new file mode 100644
index 000000000000..ddf2f39aa925
--- /dev/null
+++ b/arch/csky/include/uapi/asm/cachectl.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef __ASM_CSKY_CACHECTL_H
+#define __ASM_CSKY_CACHECTL_H
+
+/*
+ * See "man cacheflush"
+ */
+#define ICACHE (1<<0)
+#define DCACHE (1<<1)
+#define BCACHE (ICACHE|DCACHE)
+
+#endif /* __ASM_CSKY_CACHECTL_H */