summaryrefslogtreecommitdiff
path: root/include/asm-sh/processor.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-12-25 03:51:47 +0300
committerPaul Mundt <lethal@linux-sh.org>2007-02-13 04:54:45 +0300
commitaec5e0e1c179fac4bbca4007a3f0d3107275a73c (patch)
tree3b251e52a89445a5546f398fb16a002435b6c2b6 /include/asm-sh/processor.h
parent506b85f4114b912d2e91fab8da9849289e43857f (diff)
downloadlinux-aec5e0e1c179fac4bbca4007a3f0d3107275a73c.tar.xz
sh: Use a per-cpu ASID cache.
Previously this was implemented using a global cache, cache this per-CPU instead and bump up the number of context IDs to match NR_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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-sh/processor.h b/include/asm-sh/processor.h
index e29f2abb92de..da229aae8e0f 100644
--- a/include/asm-sh/processor.h
+++ b/include/asm-sh/processor.h
@@ -66,6 +66,7 @@ enum cpu_type {
struct sh_cpuinfo {
unsigned int type;
unsigned long loops_per_jiffy;
+ unsigned long asid_cache;
struct cache_info icache; /* Primary I-cache */
struct cache_info dcache; /* Primary D-cache */