Skip to content

Commit

Permalink
sh: tlb-pteaex: Kill off legacy PTEA updates.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Mar 17, 2009
1 parent 8263a67 commit c54a43e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/sh/mm/tlb-pteaex.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ void update_mmu_cache(struct vm_area_struct * vma,
* and PR bits, which are cleared) being written out in PTEL.
*/
__raw_writel(pte.pte_high, MMU_PTEA);
#else
/* TODO: make this look less hacky */
__raw_writel(((pteval >> 28) & 0xe) | (pteval & 0x1), MMU_PTEA);
#endif

/* Set PTEL register */
Expand Down

0 comments on commit c54a43e

Please sign in to comment.