summaryrefslogtreecommitdiff
path: root/include/asm-generic/timex.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-09-03 13:44:00 +0400
committerWill Deacon <will.deacon@arm.com>2014-10-20 21:49:17 +0400
commit9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0 (patch)
treee0c055ab3595d0f6f865f6aa2bbb0c6d51442adb /include/asm-generic/timex.h
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadlinux-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