summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-09-03 11:44:00 +0200
committerWill Deacon <will.deacon@arm.com>2014-10-20 19:49:17 +0200
commit9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0 (patch)
treee0c055ab3595d0f6f865f6aa2bbb0c6d51442adb /arch/microblaze
parentLinux 3.18-rc1 (diff)
downloadlinux-9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0.tar.xz
linux-9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0.zip
asm-generic: io: implement relaxed accessor macros as conditional wrappers
{read,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 wrappers to asm-generic so that drivers can rely on the relaxed accessors being available, even if they don't always provide weaker ordering guarantees. Since some architectures both include asm-generic/io.h and define some relaxed accessors, the definitions here are conditional for the time being. Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions