From: Mischa Jonker Date: Wed, 28 Aug 2013 18:32:50 +0000 (+0200) Subject: ARC: Add read*_relaxed to asm/io.h X-Git-Tag: firefly_0821_release~176^2~5380^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6532b02fe5affb962b267e3c12e87ec16311aebf;p=firefly-linux-kernel-4.4.55.git ARC: Add read*_relaxed to asm/io.h Some drivers require these, and ARC didn't had them yet. Signed-off-by: Mischa Jonker Signed-off-by: Vineet Gupta --- 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 #endif /* _ASM_ARC_IO_H */