gpu: arm: mali400: ump: Remove call to flush_all_cpu_caches()
authorTomasz Figa <t.figa@samsung.com>
Fri, 10 May 2013 17:06:39 +0000 (19:06 +0200)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:42:40 +0000 (11:42 +0900)
This function is not available anymore in Linux 3.8.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
drivers/gpu/arm/mali400/ump/linux/ump_osk_low_level_mem.c

index c47be67..3a01220 100644 (file)
@@ -231,10 +231,7 @@ void _ump_osk_msync( ump_dd_mem * mem, void * virt, u32 offset, u32 size, ump_uk
                /*  There is no dmac_clean_range, so the L1 is always flushed,
                 *  also for UMP_MSYNC_CLEAN. */
                /* MALI_SEC */
-               if (size >= SZ_64K)
-                       flush_all_cpu_caches();
-               else
-                       dmac_flush_range(start_v, end_v);
+               dmac_flush_range(start_v, end_v);
 
                DBG_MSG(3, ("UMP[%02u] Flushing CPU L1 Cache. Cpu address: %x-%x\n", mem->secure_id, start_v,end_v));
        }