diff options
author | Will Deacon <will.deacon@arm.com> | 2013-09-03 13:44:00 +0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-10-20 21:49:17 +0400 |
commit | 9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0 (patch) | |
tree | e0c055ab3595d0f6f865f6aa2bbb0c6d51442adb /include/asm-generic/timex.h | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) | |
download | linux-9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0.tar.xz |
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 'include/asm-generic/timex.h')
0 files changed, 0 insertions, 0 deletions