2013-08-28 18:33:22

by Mischa Jonker

[permalink] [raw]
Subject: [PATCH] ARC: Add read*_relaxed to asm/io.h

Some drivers require these, and ARC didn't had them yet.

Signed-off-by: Mischa Jonker <[email protected]>
---
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


2013-08-29 06:25:39

by Vineet Gupta

[permalink] [raw]
Subject: Re: [PATCH] ARC: Add read*_relaxed to asm/io.h

On 08/29/2013 12:03 AM, Mischa Jonker wrote:
> Some drivers require these, and ARC didn't had them yet.
>
> Signed-off-by: Mischa Jonker <[email protected]>

Applied.

Thx,
-Vineet