sparc: io: implement dummy relaxed accessor macros for writes
authorWill Deacon <will.deacon@arm.com>
Wed, 4 Sep 2013 10:34:08 +0000 (11:34 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 20 Oct 2014 17:49:18 +0000 (18:49 +0100)
commit1191ccb34cf810a0fefaaf5ca3cfe3c5d7675927
tree1700dadabaaa2d658fa0c34580edd6c99e0bb205
parent5da590574cbc39e48d1b71d87b62766c044b9b52
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>
arch/sparc/include/asm/io.h
arch/sparc/include/asm/io_32.h
arch/sparc/include/asm/io_64.h
This page took 0.025605 seconds and 5 git commands to generate.