kernel/drivers/gpu/arm/mali400/ump/linux/ump_osk_low_level_mem.c
.. .. @@ -223,7 +223,7 @@ 223 223 224 224 /* Flush L1 using virtual address, the entire range in one go. 225 225 * Only flush if user space process has a valid write mapping on given address. */ 226 - if ((mem) && (virt != NULL) && (access_ok(VERIFY_WRITE, virt, size))) {226 + if ((mem) && (virt != NULL) && (access_ok(virt, size))) {227 227 __cpuc_flush_dcache_area(virt, size); 228 228 DBG_MSG(3, ("UMP[%02u] Flushing CPU L1 Cache. CPU address: %x, size: %x\n", mem->secure_id, virt, size)); 229 229 } else {