aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/include/uapi/asm/cachectl.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-09 09:46:39 +0100
committerBob Liu <lliubbo@gmail.com>2012-12-13 13:50:56 +0800
commit2ba364504f2c31665007330dec23e89e44f5864e (patch)
tree3f731d76a23441ca78e55d4838689a1a871da63a /arch/blackfin/include/uapi/asm/cachectl.h
parent29594404d7fe73cd80eaa4ee8c43dcc53970c60e (diff)
UAPI: (Scripted) Disintegrate arch/blackfin/include/asm
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/blackfin/include/uapi/asm/cachectl.h')
-rw-r--r--arch/blackfin/include/uapi/asm/cachectl.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/blackfin/include/uapi/asm/cachectl.h b/arch/blackfin/include/uapi/asm/cachectl.h
new file mode 100644
index 00000000000..03255df6c1e
--- /dev/null
+++ b/arch/blackfin/include/uapi/asm/cachectl.h
@@ -0,0 +1,20 @@
+/*
+ * based on the mips/cachectl.h
+ *
+ * Copyright 2010 Analog Devices Inc.
+ * Copyright (C) 1994, 1995, 1996 by Ralf Baechle
+ *
+ * Licensed under the GPL-2 or later.
+ */
+
+#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 */