diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-03-17 04:58:33 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-17 04:58:33 -0400 |
commit | c54a43e90b80993b2e0772d678563cb2bc6a1b3b (patch) | |
tree | 6b54a13d1dd0c7b6c641366c58ffb3b83ce10e50 /arch/sh/mm | |
parent | 8263a67e169fdf0d06d172acbf6c03ae172a69d4 (diff) |
sh: tlb-pteaex: Kill off legacy PTEA updates.
While harmless, PTEA has different semantics on these parts, and is only
used in extended TLB mode. Kill off the legacy support.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/tlb-pteaex.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/mm/tlb-pteaex.c b/arch/sh/mm/tlb-pteaex.c index 5c9b2d781e08..2aab3ea934d7 100644 --- a/arch/sh/mm/tlb-pteaex.c +++ b/arch/sh/mm/tlb-pteaex.c | |||
@@ -64,9 +64,6 @@ void update_mmu_cache(struct vm_area_struct * vma, | |||
64 | * and PR bits, which are cleared) being written out in PTEL. | 64 | * and PR bits, which are cleared) being written out in PTEL. |
65 | */ | 65 | */ |
66 | __raw_writel(pte.pte_high, MMU_PTEA); | 66 | __raw_writel(pte.pte_high, MMU_PTEA); |
67 | #else | ||
68 | /* TODO: make this look less hacky */ | ||
69 | __raw_writel(((pteval >> 28) & 0xe) | (pteval & 0x1), MMU_PTEA); | ||
70 | #endif | 67 | #endif |
71 | 68 | ||
72 | /* Set PTEL register */ | 69 | /* Set PTEL register */ |