]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARC: Add read*_relaxed to asm/io.h
authorMischa Jonker <mjonker@synopsys.com>
Wed, 28 Aug 2013 18:32:50 +0000 (20:32 +0200)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 5 Sep 2013 05:01:11 +0000 (10:31 +0530)
Some drivers require these, and ARC didn't had them yet.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/io.h

index 473424d7528bd344985f3616e641f9823db24aa9..334ce7017a18e937961e81c00b97acfc9779b316 100644 (file)
@@ -100,6 +100,10 @@ static inline void __raw_writel(u32 w, volatile void __iomem *addr)
 
 }
 
+#define readb_relaxed readb
+#define readw_relaxed readw
+#define readl_relaxed readl
+
 #include <asm-generic/io.h>
 
 #endif /* _ASM_ARC_IO_H */