summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm
diff options
context:
space:
mode:
authorMischa Jonker <mjonker@synopsys.com>2013-08-28 18:32:50 (GMT)
committerVineet Gupta <vgupta@synopsys.com>2013-09-05 05:01:11 (GMT)
commit6532b02fe5affb962b267e3c12e87ec16311aebf (patch)
tree669f6c9edaab6158e4c24090992b1f14e3036378 /arch/arc/include/asm
parent7d669a193bc0f44c20054687a3bf9ff82ad001a7 (diff)
downloadlinux-fsl-qoriq-6532b02fe5affb962b267e3c12e87ec16311aebf.tar.xz
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/include/asm')
-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 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 */