Gpu driver requires to do cache invalid, clean and flush operation.
But in 3.10 kernel, these APIs are not supposed to be called from
device driver. To avoid too much code change, Revert "ARM: Fix bad
merge
bd1274dc005 (Merge branch 'v6v7' into devel)" to make the
situation the same as 3.0.35 kernel.
This reverts commit
a67e1ce145785d884b29b17e4d82a6ecd67bb97a.
Signed-off-by: Loren HUANG <b02279@freescale.com>
Acked-by: Shawn Guo
#endif
#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K)
-# ifdef _CACHE
+//# ifdef _CACHE
# define MULTI_CACHE 1
-# else
-# define _CACHE v6
-# endif
+//# else
+//# define _CACHE v6
+//# endif
#endif
#if defined(CONFIG_CPU_V7)
-# ifdef _CACHE
+//# ifdef _CACHE
# define MULTI_CACHE 1
-# else
-# define _CACHE v7
-# endif
+//# else
+//# define _CACHE v7
+//# endif
#endif
#if defined(CONFIG_CPU_V7M)