]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ARM: Add barriers to io{read,write}{8,16,32} accessors as well
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 Jul 2010 10:38:05 +0000 (11:38 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 Jul 2010 13:04:37 +0000 (14:04 +0100)
commitb92b3612134faff171981fad4f0adb33f485e02e
tree90e686709e31ab7523e4ce730b2c85a930384cf7
parent79f64dbf68c8a9779a7e9a25e0a9f0217a25b57a
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>
arch/arm/include/asm/io.h