Don't write-back the cachelines if we really just want to invalidate them.

Spotted out by:	Ian Lepore <freebsd at damnhippie DOT dyndns dot org>
This commit is contained in:
Olivier Houchard 2012-12-05 21:07:27 +00:00
parent 0c04d1850f
commit e892db8fc3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243909

View file

@ -1095,7 +1095,7 @@ _bus_dmamap_fix_user(vm_offset_t buf, bus_size_t len,
#else
#define l2cache_wb_range(va, pa, size) cpu_l2cache_wb_range(va, size)
#define l2cache_wbinv_range(va, pa, size) cpu_l2cache_wbinv_range(va, size)
#define l2cache_inv_range(va, pa, size) cpu_l2cache_wbinv_range(va, size)
#define l2cache_inv_range(va, pa, size) cpu_l2cache_inv_range(va, size)
#endif
void