summaryrefslogtreecommitdiffstats
path: root/kernel/arch/m32r/include/asm/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/m32r/include/asm/cache.h')
-rw-r--r--kernel/arch/m32r/include/asm/cache.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/arch/m32r/include/asm/cache.h b/kernel/arch/m32r/include/asm/cache.h
new file mode 100644
index 000000000..40b3ee981
--- /dev/null
+++ b/kernel/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 */