summaryrefslogtreecommitdiffstats
path: root/arch/m32r/include/asm/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m32r/include/asm/cache.h')
-rw-r--r--arch/m32r/include/asm/cache.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/m32r/include/asm/cache.h b/arch/m32r/include/asm/cache.h
new file mode 100644
index 000000000000..40b3ee98193d
--- /dev/null
+++ b/arch/m32r/include/asm/cache.h
@@ -0,0 +1,8 @@
+#ifndef _ASM_M32R_CACHE_H
+#define _ASM_M32R_CACHE_H
+
+/* L1 cache line size */
+#define L1_CACHE_SHIFT 4
+#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
+
+#endif /* _ASM_M32R_CACHE_H */
OpenPOWER on IntegriCloud