diff options
author | raj <raj@FreeBSD.org> | 2009-08-13 15:56:09 +0000 |
---|---|---|
committer | raj <raj@FreeBSD.org> | 2009-08-13 15:56:09 +0000 |
commit | b1786d80d2f6e85141431d158b4cf3a47a2f71ec (patch) | |
tree | e50000713ce3ba7e2502c17fa19f186f2f575a50 /sys/arm | |
parent | 3716ce6a10444c478719620f8f98edb5eb56c0b9 (diff) | |
download | FreeBSD-src-b1786d80d2f6e85141431d158b4cf3a47a2f71ec.zip FreeBSD-src-b1786d80d2f6e85141431d158b4cf3a47a2f71ec.tar.gz |
Use correct wbinv operation in pmap_l2cache_wbinv_range().
Submitted by: Michal Hajduk
Reviewed by: stas
Approved by: re (kib)
Obtained from: Semihalf
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/arm/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c index 19c7236..1b9bf81 100644 --- a/sys/arm/arm/pmap.c +++ b/sys/arm/arm/pmap.c @@ -1212,7 +1212,7 @@ pmap_l2cache_wbinv_range(pmap_t pm, vm_offset_t va, vm_size_t len) CTR4(KTR_PMAP, "pmap_l2cache_wbinv_range: pmap %p is_kernel %d " "va 0x%08x len 0x%x ", pm, pm == pmap_kernel(), va, rest); if (pmap_get_pde_pte(pm, va, &pde, &ptep) && l2pte_valid(*ptep)) - cpu_l2cache_wb_range(va, rest); + cpu_l2cache_wbinv_range(va, rest); len -= rest; va += rest; |