]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: tlb-pteaex: Kill off legacy PTEA updates.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 17 Mar 2009 08:58:33 +0000 (17:58 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 17 Mar 2009 08:58:33 +0000 (17:58 +0900)
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

index 5c9b2d781e084c76c9438b7b594434ad835b63e1..2aab3ea934d77909f74215759a5f4fc3072c12d3 100644 (file)
@@ -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 */