diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-29 11:38:05 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-29 14:04:37 +0100 |
commit | b92b3612134faff171981fad4f0adb33f485e02e (patch) | |
tree | 90e686709e31ab7523e4ce730b2c85a930384cf7 /kernel/sysctl_binary.c | |
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>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions