Commit c54a43e9 authored by Paul Mundt's avatar Paul Mundt

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 8263a67e
...@@ -64,9 +64,6 @@ void update_mmu_cache(struct vm_area_struct * vma, ...@@ -64,9 +64,6 @@ void update_mmu_cache(struct vm_area_struct * vma,
* and PR bits, which are cleared) being written out in PTEL. * and PR bits, which are cleared) being written out in PTEL.
*/ */
__raw_writel(pte.pte_high, MMU_PTEA); __raw_writel(pte.pte_high, MMU_PTEA);
#else
/* TODO: make this look less hacky */
__raw_writel(((pteval >> 28) & 0xe) | (pteval & 0x1), MMU_PTEA);
#endif #endif
/* Set PTEL register */ /* Set PTEL register */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment