m68k: io: implement dummy relaxed accessor macros for writes
authorWill Deacon <will.deacon@arm.com>
Tue, 3 Sep 2013 18:15:42 +0000 (19:15 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 20 Oct 2014 17:49:18 +0000 (18:49 +0100)
commit88a9192e216fef5f198f860d14e84f7e3c840ace
tree1ace513acb6670d63e45b8fa876ad32a34006f75
parentcb147c0f0b33f5ba37dfd07014f2973a53bc5d62
m68k: io: implement dummy relaxed accessor macros for writes

write{b,w,l}_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 m68k, in the
same vein as the dummy definitions for the relaxed read accessors.
Additionally, the existing relaxed read accessors are moved into
asm/io.h, so that they can be used by m68k targets with an MMU.

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/m68k/include/asm/io.h
arch/m68k/include/asm/io_no.h