summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/io_32.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-09-04 11:34:08 +0100
committerWill Deacon <will.deacon@arm.com>2014-10-20 18:49:18 +0100
commit1191ccb34cf810a0fefaaf5ca3cfe3c5d7675927 (patch)
tree1700dadabaaa2d658fa0c34580edd6c99e0bb205 /arch/sparc/include/asm/io_32.h
parent5da590574cbc39e48d1b71d87b62766c044b9b52 (diff)
downloadlinux-1191ccb34cf810a0fefaaf5ca3cfe3c5d7675927.tar.bz2
sparc: 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 sparc, in the same vein as the dummy definitions for the relaxed read accessors. The existing relaxed read{b,w,l} accessors are moved into asm/io.h, since they are identical between 32-bit and 64-bit machines. Acked-by: "David S. Miller" <davem@davemloft.net> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/sparc/include/asm/io_32.h')
-rw-r--r--arch/sparc/include/asm/io_32.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc/include/asm/io_32.h b/arch/sparc/include/asm/io_32.h
index 9f532902627c..407ac14295f4 100644
--- a/arch/sparc/include/asm/io_32.h
+++ b/arch/sparc/include/asm/io_32.h
@@ -4,10 +4,6 @@
#include <linux/kernel.h>
#include <linux/ioport.h> /* struct resource */
-#define readb_relaxed(__addr) readb(__addr)
-#define readw_relaxed(__addr) readw(__addr)
-#define readl_relaxed(__addr) readl(__addr)
-
#define IO_SPACE_LIMIT 0xffffffff
#define memset_io(d,c,sz) _memset_io(d,c,sz)