From: Will Deacon Date: Tue, 3 Sep 2013 09:44:00 +0000 (+0100) Subject: asm-generic: io: implement relaxed accessor macros as conditional wrappers X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~8^2~2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9439eb3ab9d1ece6e4ad7baaa4a7f534f9b9dab0;p=pandora-kernel.git 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 Signed-off-by: Will Deacon --- Reading git-diff-tree failed