ARC: No need to flush the TLB in early boot
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
@@ -577,13 +577,6 @@ void arc_mmu_init(void)
|
|||||||
if (mmu->pg_sz != PAGE_SIZE)
|
if (mmu->pg_sz != PAGE_SIZE)
|
||||||
panic("MMU pg size != PAGE_SIZE (%luk)\n", TO_KB(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 */
|
/* Enable the MMU */
|
||||||
write_aux_reg(ARC_REG_PID, MMU_ENABLE);
|
write_aux_reg(ARC_REG_PID, MMU_ENABLE);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user