diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-12-25 00:51:47 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-02-13 01:54:45 (GMT) |
commit | aec5e0e1c179fac4bbca4007a3f0d3107275a73c (patch) | |
tree | 3b251e52a89445a5546f398fb16a002435b6c2b6 /arch/sh/mm/init.c | |
parent | 506b85f4114b912d2e91fab8da9849289e43857f (diff) | |
download | linux-fsl-qoriq-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 'arch/sh/mm/init.c')
-rw-r--r-- | arch/sh/mm/init.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index bf0c263..d172065 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c @@ -39,11 +39,6 @@ DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); pgd_t swapper_pg_dir[PTRS_PER_PGD]; -/* - * Cache of MMU context last used. - */ -unsigned long mmu_context_cache = NO_CONTEXT; - #ifdef CONFIG_MMU /* It'd be good if these lines were in the standard header file. */ #define START_PFN (NODE_DATA(0)->bdata->node_boot_start >> PAGE_SHIFT) |