summaryrefslogtreecommitdiff
path: root/arch/parisc/include/uapi/asm/cachectl.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/include/uapi/asm/cachectl.h')
-rw-r--r--arch/parisc/include/uapi/asm/cachectl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/parisc/include/uapi/asm/cachectl.h b/arch/parisc/include/uapi/asm/cachectl.h
new file mode 100644
index 000000000000..68d6b455498b
--- /dev/null
+++ b/arch/parisc/include/uapi/asm/cachectl.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef _ASM_CACHECTL
+#define _ASM_CACHECTL
+
+/*
+ * Options for cacheflush system call
+ */
+#define ICACHE (1<<0) /* flush instruction cache */
+#define DCACHE (1<<1) /* writeback and flush data cache */
+#define BCACHE (ICACHE|DCACHE) /* flush both caches */
+
+#endif /* _ASM_CACHECTL */