aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/io.h')
-rw-r--r--arch/arm/include/asm/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
index 11d2072f95d1..35d91406af65 100644
--- a/arch/arm/include/asm/io.h
+++ b/arch/arm/include/asm/io.h
@@ -102,6 +102,8 @@ static inline void __iomem *__typesafe_io(unsigned long addr)
102 return (void __iomem *)addr; 102 return (void __iomem *)addr;
103} 103}
104 104
105#define IOMEM(x) ((void __force __iomem *)(x))
106
105/* IO barriers */ 107/* IO barriers */
106#ifdef CONFIG_ARM_DMA_MEM_BUFFERABLE 108#ifdef CONFIG_ARM_DMA_MEM_BUFFERABLE
107#define __iormb() rmb() 109#define __iormb() rmb()