[PATCH] ARC: Add read*_relaxed to asm/io.h
From: Mischa Jonker
Date: Wed Aug 28 2013 - 14:33:25 EST
Some drivers require these, and ARC didn't had them yet.
Signed-off-by: Mischa Jonker <mjonker@xxxxxxxxxxxx>
---
arch/arc/include/asm/io.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arc/include/asm/io.h b/arch/arc/include/asm/io.h
index 473424d..334ce70 100644
--- a/arch/arc/include/asm/io.h
+++ b/arch/arc/include/asm/io.h
@@ -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 */
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/