FOC: Fix in kernel 'Op_cache_dma_coherent'

'Mem_unit::flush_dcache' takes void pointers as arguments, no need to take the
given void pointers ('start' and 'end') and transform them to
'Virt_addr(Address(x)' types. This breaks cache flushing in r72.
This commit is contained in:
Sebastian Sumpf
2017-11-07 17:59:58 +01:00
parent c60f50987c
commit e8d92225e4

View File

@@ -99,7 +99,7 @@ Mem_op::__arm_kmem_l1_cache_maint(int op, void const *kstart, void const *kend)
break;
case Op_cache_dma_coherent:
Mem_unit::flush_dcache(Virt_addr(Address(kstart)), Virt_addr(Address(kend)));
Mem_unit::flush_dcache(kstart, kend);
break;
// We might not want to implement this one but single address outer