diff options
author | Will Deacon <will.deacon@arm.com> | 2013-09-03 11:44:00 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-10-20 19:49:17 +0200 |
commit | 9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0 (patch) | |
tree | e0c055ab3595d0f6f865f6aa2bbb0c6d51442adb /arch/microblaze | |
parent | Linux 3.18-rc1 (diff) | |
download | linux-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