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)
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>

No differences found