Skip to contentSkip to conversation

ARC: Add read*_relaxed to asm/io.h

PATCH Applied Mischa Jonker 2 participants 2 messages Aug 28, 2013 – Aug 29, 2013 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARC: Add read*_relaxed to asm/io.h

Some drivers require these, and ARC didn't had them yet.

---
 arch/arc/include/asm/io.h |    4 ++++
 1 file changed, 4 insertions(+)
arch/arc/include/asm/io.h +4 -0
index 473424d..334ce70 100644
@@ -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 */
Signature · 1 line
1.7.9.5