summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/arm/arm/pmap-v6.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/arm/arm/pmap-v6.c b/sys/arm/arm/pmap-v6.c
index 3d3c0cf..1d9ad14 100644
--- a/sys/arm/arm/pmap-v6.c
+++ b/sys/arm/arm/pmap-v6.c
@@ -1988,8 +1988,6 @@ pmap_release(pmap_t pmap)
{
struct pcb *pcb;
- cpu_idcache_wbinv_all();
- cpu_l2cache_wbinv_all();
cpu_tlb_flushID();
cpu_cpwait();
if (vector_page < KERNBASE) {
@@ -2175,14 +2173,6 @@ pmap_growkernel(vm_offset_t addr)
for (; pmap_curmaxkvaddr < addr; pmap_curmaxkvaddr += L1_S_SIZE)
pmap_grow_l2_bucket(kpmap, pmap_curmaxkvaddr);
- /*
- * flush out the cache, expensive but growkernel will happen so
- * rarely
- */
- cpu_dcache_wbinv_all();
- cpu_l2cache_wbinv_all();
- cpu_tlb_flushD();
- cpu_cpwait();
kernel_vm_end = pmap_curmaxkvaddr;
}
OpenPOWER on IntegriCloud