aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/mm/tlb.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-08-29 08:12:02 -0400
committerVineet Gupta <vgupta@synopsys.com>2013-08-30 01:18:14 -0400
commitc0857f5d0e747dbbf53d8f27bcf7d977aac33760 (patch)
tree09dbff1f03403c4c51283e825f269205684a1627 /arch/arc/mm/tlb.c
parent483e9bcb01432ce66448c214bd0afc231da48b4b (diff)
ARC: No need to flush the TLB in early boot
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/mm/tlb.c')
-rw-r--r--arch/arc/mm/tlb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arc/mm/tlb.c b/arch/arc/mm/tlb.c
index f58d5f62bccc..7646a96f3155 100644
--- a/arch/arc/mm/tlb.c
+++ b/arch/arc/mm/tlb.c
@@ -577,13 +577,6 @@ void arc_mmu_init(void)
577 if (mmu->pg_sz != PAGE_SIZE) 577 if (mmu->pg_sz != PAGE_SIZE)
578 panic("MMU pg size != PAGE_SIZE (%luk)\n", TO_KB(PAGE_SIZE)); 578 panic("MMU pg size != PAGE_SIZE (%luk)\n", TO_KB(PAGE_SIZE));
579 579
580 /*
581 * ASID mgmt data structures are compile time init
582 * asid_cache = FIRST_ASID and asid_mm_map[] all zeroes
583 */
584
585 local_flush_tlb_all();
586
587 /* Enable the MMU */ 580 /* Enable the MMU */
588 write_aux_reg(ARC_REG_PID, MMU_ENABLE); 581 write_aux_reg(ARC_REG_PID, MMU_ENABLE);
589 582