OSDN Git Service

ARC: No need to flush the TLB in early boot
authorVineet Gupta <vgupta@synopsys.com>
Thu, 29 Aug 2013 12:12:02 +0000 (17:42 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 30 Aug 2013 05:18:14 +0000 (10:48 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/mm/tlb.c

index f58d5f6..7646a96 100644 (file)
@@ -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);