diff options
author | Will Deacon <will.deacon@arm.com> | 2013-09-03 10:44:00 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-10-20 18:49:17 +0100 |
commit | 9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0 (patch) | |
tree | e0c055ab3595d0f6f865f6aa2bbb0c6d51442adb /arch/s390 | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
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/s390')
0 files changed, 0 insertions, 0 deletions