sh: tlb-pteaex: Kill off legacy PTEA updates.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:23 pm

Gitweb:     http://git.kernel.org/linus/c54a43e90b80993b2e0772d678563cb2bc6a1b3b
Commit:     c54a43e90b80993b2e0772d678563cb2bc6a1b3b
Parent:     8263a67e169fdf0d06d172acbf6c03ae172a69d4
Author:     Paul Mundt <lethal@linux-sh.org>
AuthorDate: Tue Mar 17 17:58:33 2009 +0900
Committer:  Paul Mundt <lethal@linux-sh.org>
CommitDate: Tue Mar 17 17:58:33 2009 +0900

    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>
---
 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 5c9b2d7..2aab3ea 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,
 	 * 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 */
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sh: tlb-pteaex: Kill off legacy PTEA updates., Linux Kernel Mailing ..., (Thu Mar 26, 12:23 pm)