summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/arch-v32/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/arch-v32/cache.h')
-rw-r--r--include/asm-cris/arch-v32/cache.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-cris/arch-v32/cache.h b/include/asm-cris/arch-v32/cache.h
new file mode 100644
index 0000000..4fed8d6
--- /dev/null
+++ b/include/asm-cris/arch-v32/cache.h
@@ -0,0 +1,9 @@
+#ifndef _ASM_CRIS_ARCH_CACHE_H
+#define _ASM_CRIS_ARCH_CACHE_H
+
+/* A cache-line is 32 bytes. */
+#define L1_CACHE_BYTES 32
+#define L1_CACHE_SHIFT 5
+#define L1_CACHE_SHIFT_MAX 5
+
+#endif /* _ASM_CRIS_ARCH_CACHE_H */
OpenPOWER on IntegriCloud