alpha: io: implement relaxed accessor macros for writes
authorWill Deacon <will.deacon@arm.com>
Fri, 25 Jul 2014 00:53:54 +0000 (17:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 29 Aug 2014 18:18:45 +0000 (11:18 -0700)
commit9e36c633951acb33e250e75b209b04217ce7b86c
tree11fec3ba5450a85ab166751d9ca2be0bf0564383
parent5691e4456a9332b5cdc0692f0963f35444711038
alpha: io: implement relaxed accessor macros for writes

write{b,w,l,q}_relaxed are implemented by some architectures in order to
permit memory-mapped I/O writes with weaker barrier semantics than the
non-relaxed variants.

This patch implements these write macros for Alpha, in the same vein as
the relaxed read macros, which are already implemented.

Acked-by: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/include/asm/io.h