Title: [9126] trunk/arch/blackfin/include/asm/cachectl.h: Task[#6243] blackfin:cacheflush: add syscall sys_cacheflush
- Revision
- 9126
- Author
- sonicz
- Date
- 2010-09-06 23:48:22 -0400 (Mon, 06 Sep 2010)
Log Message
Task[#6243] blackfin:cacheflush: add syscall sys_cacheflush
Forgot to add head file.
Added Paths
Diff
Added: trunk/arch/blackfin/include/asm/cachectl.h (0 => 9126)
--- trunk/arch/blackfin/include/asm/cachectl.h (rev 0)
+++ trunk/arch/blackfin/include/asm/cachectl.h 2010-09-07 03:48:22 UTC (rev 9126)
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2010 Analog Devices Inc.
+ *
+ * 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 */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits