aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/cacheflush.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/cacheflush.h')
-rw-r--r--arch/arm/include/asm/cacheflush.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h
index 3acd8fa25e34..7d0614f599a7 100644
--- a/arch/arm/include/asm/cacheflush.h
+++ b/arch/arm/include/asm/cacheflush.h
@@ -116,7 +116,7 @@
116# define MULTI_CACHE 1 116# define MULTI_CACHE 1
117#endif 117#endif
118 118
119#if defined(CONFIG_CPU_V6) 119#if defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K)
120//# ifdef _CACHE 120//# ifdef _CACHE
121# define MULTI_CACHE 1 121# define MULTI_CACHE 1
122//# else 122//# else
@@ -316,7 +316,8 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *,
316 * Optimized __flush_icache_all for the common cases. Note that UP ARMv7 316 * Optimized __flush_icache_all for the common cases. Note that UP ARMv7
317 * will fall through to use __flush_icache_all_generic. 317 * will fall through to use __flush_icache_all_generic.
318 */ 318 */
319#if (defined(CONFIG_CPU_V7) && defined(CONFIG_CPU_V6)) || \ 319#if (defined(CONFIG_CPU_V7) && \
320 (defined(CONFIG_CPU_V6) || defined(CONFIG_CPU_V6K))) || \
320 defined(CONFIG_SMP_ON_UP) 321 defined(CONFIG_SMP_ON_UP)
321#define __flush_icache_preferred __cpuc_flush_icache_all 322#define __flush_icache_preferred __cpuc_flush_icache_all
322#elif __LINUX_ARM_ARCH__ >= 7 && defined(CONFIG_SMP) 323#elif __LINUX_ARM_ARCH__ >= 7 && defined(CONFIG_SMP)