mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARC: Add read*_relaxed to asm/io.h
@ 2013-08-28 18:32 Mischa Jonker
  2013-08-29  6:25 ` Vineet Gupta
  0 siblings, 1 reply; 2+ messages in thread
From: Mischa Jonker @ 2013-08-28 18:32 UTC (permalink / raw)
  To: Vineet Gupta, Gilad Ben-Yossef, linux-kernel; +Cc: Mischa Jonker

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

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
---
 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARC: Add read*_relaxed to asm/io.h
  2013-08-28 18:32 [PATCH] ARC: Add read*_relaxed to asm/io.h Mischa Jonker
@ 2013-08-29  6:25 ` Vineet Gupta
  0 siblings, 0 replies; 2+ messages in thread
From: Vineet Gupta @ 2013-08-29  6:25 UTC (permalink / raw)
  To: Mischa Jonker; +Cc: Gilad Ben-Yossef, linux-kernel

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 <mjonker@synopsys.com>

Applied.

Thx,
-Vineet

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-29  6:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-28 18:32 [PATCH] ARC: Add read*_relaxed to asm/io.h Mischa Jonker
2013-08-29  6:25 ` Vineet Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®