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>
This commit is contained in:
parent
506b85f411
commit
aec5e0e1c1
7 changed files with 97 additions and 93 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue