summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorMischa Jonker <mjonker@synopsys.com>2013-08-28 20:32:50 +0200
committerVineet Gupta <vgupta@synopsys.com>2013-09-05 10:31:11 +0530
commit6532b02fe5affb962b267e3c12e87ec16311aebf (patch)
tree669f6c9edaab6158e4c24090992b1f14e3036378 /arch/arc
parent7d669a193bc0f44c20054687a3bf9ff82ad001a7 (diff)
downloadlinux-6532b02fe5affb962b267e3c12e87ec16311aebf.tar.bz2
ARC: Add read*_relaxed to asm/io.h
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>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/include/asm/io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arc/include/asm/io.h b/arch/arc/include/asm/io.h
index 473424d7528b..334ce7017a18 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 */