]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf829d1013e8b5e3ecdbb01e8c8bcdca6aa4c701b
tree11fec3ba5450a85ab166751d9ca2be0bf0564383
parent0db186b4fe17b17a8883f3212e5743d0fca0495f
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