summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorMischa Jonker2013-08-28 20:32:50 +0200
committerVineet Gupta2013-09-05 07:01:11 +0200
commit6532b02fe5affb962b267e3c12e87ec16311aebf (patch)
tree669f6c9edaab6158e4c24090992b1f14e3036378 /arch/arc
parentARC: Handle un-aligned user space access in BE. (diff)
downloadkernel-qcow2-linux-6532b02fe5affb962b267e3c12e87ec16311aebf.tar.gz
kernel-qcow2-linux-6532b02fe5affb962b267e3c12e87ec16311aebf.tar.xz
kernel-qcow2-linux-6532b02fe5affb962b267e3c12e87ec16311aebf.zip
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 */