[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1411579056-16966-15-git-send-email-will.deacon@arm.com>
Date: Wed, 24 Sep 2014 18:17:33 +0100
From: Will Deacon <will.deacon@....com>
To: linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: arnd@...db.de, benh@...nel.crashing.org, chris@...kel.net,
cmetcalf@...era.com, davem@...emloft.net, deller@....de,
dhowells@...hat.com, geert@...ux-m68k.org,
heiko.carstens@...ibm.com, hpa@...or.com, jcmvbkbc@...il.com,
jesper.nilsson@...s.com, mingo@...hat.com, monstr@...str.eu,
paulmck@...ux.vnet.ibm.com, rdunlap@...radead.org,
sam@...nborg.org, schwidefsky@...ibm.com, starvik@...s.com,
takata@...ux-m32r.org, tglx@...utronix.de, tony.luck@...el.com,
daniel.thompson@...aro.org, broonie@...aro.org,
linux@....linux.org.uk, Will Deacon <will.deacon@....com>
Subject: [PATCH v3 14/17] tile: io: implement dummy relaxed accessor macros for writes
write{b,w,l,q}_relaxed are implemented by some architectures in order to
permit memory-mapped I/O accesses with weaker barrier semantics than the
non-relaxed variants.
This patch adds dummy macros for the write accessors to tile, in the
same vein as the dummy definitions for the relaxed read accessors.
Acked-by: Chris Metcalf <cmetcalf@...era.com>
Signed-off-by: Will Deacon <will.deacon@....com>
---
arch/tile/include/asm/io.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/tile/include/asm/io.h b/arch/tile/include/asm/io.h
index 9fe434969fab..d372641054d9 100644
--- a/arch/tile/include/asm/io.h
+++ b/arch/tile/include/asm/io.h
@@ -241,6 +241,10 @@ static inline void writeq(u64 val, unsigned long addr)
#define readw_relaxed readw
#define readl_relaxed readl
#define readq_relaxed readq
+#define writeb_relaxed writeb
+#define writew_relaxed writew
+#define writel_relaxed writel
+#define writeq_relaxed writeq
#define ioread8 readb
#define ioread16 readw
--
2.1.0
--
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