From: Vineet Gupta Date: Thu, 29 Aug 2013 12:12:02 +0000 (+0530) Subject: ARC: No need to flush the TLB in early boot X-Git-Tag: firefly_0821_release~176^2~5380^2~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c0857f5d0e747dbbf53d8f27bcf7d977aac33760;p=firefly-linux-kernel-4.4.55.git ARC: No need to flush the TLB in early boot Signed-off-by: Vineet Gupta --- 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) if (mmu->pg_sz != PAGE_SIZE) panic("MMU pg size != PAGE_SIZE (%luk)\n", TO_KB(PAGE_SIZE)); - /* - * ASID mgmt data structures are compile time init - * asid_cache = FIRST_ASID and asid_mm_map[] all zeroes - */ - - local_flush_tlb_all(); - /* Enable the MMU */ write_aux_reg(ARC_REG_PID, MMU_ENABLE);