Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0857f5d authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: No need to flush the TLB in early boot

parent 483e9bcb
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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);