aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/processor.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 05:27:43 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 05:27:43 -0400
commit72c35543f8cf1316773ffbd9619575bb84ac44fb (patch)
tree5dc8ba51079cbc65be0ee0e881da03e6ac0b0b5b /include/asm-sh/processor.h
parent9d549a7d8ef71f684a35cf1e438543957cf81d12 (diff)
sh: Support for L2 cache on newer SH-4A CPUs.
This implements preliminary support for the L2 caches found on newer SH-4A CPUs. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/processor.h')
-rw-r--r--include/asm-sh/processor.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/asm-sh/processor.h b/include/asm-sh/processor.h
index bdd472705546..b7cba4e91a72 100644
--- a/include/asm-sh/processor.h
+++ b/include/asm-sh/processor.h
@@ -54,14 +54,15 @@ enum cpu_type {
54}; 54};
55 55
56struct sh_cpuinfo { 56struct sh_cpuinfo {
57 enum cpu_type type; 57 unsigned int type;
58 unsigned long loops_per_jiffy; 58 unsigned long loops_per_jiffy;
59 59
60 struct cache_info icache; 60 struct cache_info icache; /* Primary I-cache */
61 struct cache_info dcache; 61 struct cache_info dcache; /* Primary D-cache */
62 struct cache_info scache; /* Secondary cache */
62 63
63 unsigned long flags; 64 unsigned long flags;
64}; 65} __attribute__ ((aligned(SMP_CACHE_BYTES)));
65 66
66extern struct sh_cpuinfo boot_cpu_data; 67extern struct sh_cpuinfo boot_cpu_data;
67 68