commit | b92b3612134faff171981fad4f0adb33f485e02e | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jul 29 11:38:05 2010 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Thu Jul 29 14:04:37 2010 +0100 |
tree | 90e686709e31ab7523e4ce730b2c85a930384cf7 | |
parent | 79f64dbf68c8a9779a7e9a25e0a9f0217a25b57a [diff] |
ARM: Add barriers to io{read,write}{8,16,32} accessors as well The ioread/iowrite accessors also need barriers as they're used in place of readl/writel et.al. in portable drivers. Create __iormb() and __iowmb() which are conditionally defined to be barriers dependent on ARM_DMA_MEM_BUFFERABLE, and always use these macros in the accessors. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>