[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1377714770-2251-1-git-send-email-mjonker@synopsys.com>
Date: Wed, 28 Aug 2013 20:32:50 +0200
From: Mischa Jonker <Mischa.Jonker@...opsys.com>
To: Vineet Gupta <Vineet.Gupta1@...opsys.com>,
Gilad Ben-Yossef <gilad@...yossef.com>,
linux-kernel@...r.kernel.org
Cc: Mischa Jonker <Mischa.Jonker@...opsys.com>
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 <mjonker@...opsys.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists