summaryrefslogtreecommitdiffstats
path: root/arch/h8300/include/asm/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-06-25 22:07:24 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-25 22:07:24 +0200
commit55a7d4b85ca1f723d26b8956e8faeff730d0d240 (patch)
tree4f8e9460bbd2096971215b67321c14a14c3c1d3f /arch/h8300/include/asm/cache.h
parentMerge branch 'akpm' (patches from Andrew) (diff)
parenth8300: fix typo. (diff)
downloadlinux-55a7d4b85ca1f723d26b8956e8faeff730d0d240.tar.xz
linux-55a7d4b85ca1f723d26b8956e8faeff730d0d240.zip
Merge tag 'for-4.2' of git://git.sourceforge.jp/gitroot/uclinux-h8/linux
Pull Renesas H8/300 architecture re-introduction from Yoshinori Sato. We dropped arch/h8300 two years ago as stale and old, this is a new and more modern rewritten arch support for the same architecture. * tag 'for-4.2' of git://git.sourceforge.jp/gitroot/uclinux-h8/linux: (27 commits) h8300: fix typo. h8300: Always build dtb h8300: Remove ARCH_WANT_IPC_PARSE_VERSION sh-sci: Get register size from platform device clk: h8300: fix error handling in h8s2678_pll_clk_setup() h8300: Symbol name fix h8300: devicetree source h8300: configs h8300: IRQ chip driver h8300: clocksource h8300: clock driver h8300: Build scripts h8300: library functions h8300: Memory management h8300: miscellaneous functions h8300: process helpers h8300: compressed image support h8300: Low level entry h8300: kernel startup h8300: Interrupt and exceptions ...
Diffstat (limited to 'arch/h8300/include/asm/cache.h')
-rw-r--r--arch/h8300/include/asm/cache.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/h8300/include/asm/cache.h b/arch/h8300/include/asm/cache.h
new file mode 100644
index 000000000000..0ef1edc5a6a6
--- /dev/null
+++ b/arch/h8300/include/asm/cache.h
@@ -0,0 +1,11 @@
+#ifndef __ARCH_H8300_CACHE_H
+#define __ARCH_H8300_CACHE_H
+
+/* bytes per L1 cache line */
+#define L1_CACHE_SHIFT 2
+#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
+
+#define __cacheline_aligned
+#define ____cacheline_aligned
+
+#endif