Subject: ARM io provide ioremap_cache preproc variable
From: Carsten Emde <>
Date: Sat, 2  Aug 2014 13:55:33 +0100

The name of the preprocessor variable ioremap_cache was changed to
ioremap_cached but we still have a number of original files that use the
old name. Add the old definition in order to make things easier for now.
This patch must go when there is no longer any reference to the old

Signed-off-by: Carsten Emde <>

 arch/arm/include/asm/io.h |    1 +
 1 file changed, 1 insertion(+)

Index: linux-3.12.31-rt45-r8s8/arch/arm/include/asm/io.h
@ linux-3.12.31-rt45-r8s8/arch/arm/include/asm/io.h:330 @ extern void _memset_io(volatile void __i
 #define ioremap(cookie,size)		__arm_ioremap((cookie), (size), MT_DEVICE)
 #define ioremap_nocache(cookie,size)	__arm_ioremap((cookie), (size), MT_DEVICE)
+#define ioremap_cache(cookie,size)	__arm_ioremap((cookie), (size), MT_DEVICE_CACHED)
 #define ioremap_cached(cookie,size)	__arm_ioremap((cookie), (size), MT_DEVICE_CACHED)
 #define ioremap_wc(cookie,size)		__arm_ioremap((cookie), (size), MT_DEVICE_WC)
 #define iounmap				__arm_iounmap