shithub: riscv

Download patch

ref: d5e45580788cfa62afea322e5676cf9e5f77d0a4
parent: 2235660f867148d6a5232ec42148af26b36560c7
author: cinap_lenrek <[email protected]>
date: Fri May 17 14:57:05 EDT 2019

bcm64: remove unneccesary tlb flush on mmuidmap()

--- a/sys/src/9/bcm64/mmu.c
+++ b/sys/src/9/bcm64/mmu.c
@@ -95,9 +95,6 @@
 {
 	uintptr va, pa, pe;
 
-	mmuswitch(nil);
-	flushtlb();
-
 	pe = PHYSDRAM + soc.dramsize;
 	if(pe > (uintptr)-KZERO)
 		pe = (uintptr)-KZERO;