aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/cache.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-10-30 04:28:52 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-10-30 04:28:52 -0400
commit2278caa3c850c8f0aac4e1db7649a2c90cdaa9e9 (patch)
tree1aef85a32a07391564fc755d6d541d12029adadd /include/asm-sh/cache.h
parent3f9654f02ede996e5be73866da716b325a6fb66b (diff)
sh: Use generic SMP_CACHE_BYTES/L1_CACHE_ALIGN.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/cache.h')
-rw-r--r--include/asm-sh/cache.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-sh/cache.h b/include/asm-sh/cache.h
index 7a18649d1ccb..0fe7cf9a0433 100644
--- a/include/asm-sh/cache.h
+++ b/include/asm-sh/cache.h
@@ -18,9 +18,6 @@
18#define SH_CACHE_ASSOC 8 18#define SH_CACHE_ASSOC 8
19 19
20#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) 20#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
21#define SMP_CACHE_BYTES L1_CACHE_BYTES
22
23#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
24 21
25#ifndef __ASSEMBLY__ 22#ifndef __ASSEMBLY__
26struct cache_info { 23struct cache_info {