Skip to content
Commit b92b3612 authored by Russell King's avatar Russell King
Browse files

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 79f64dbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment