summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/highmem.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-07-29 12:38:05 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-07-29 15:04:37 +0200
commitb92b3612134faff171981fad4f0adb33f485e02e (patch)
tree90e686709e31ab7523e4ce730b2c85a930384cf7 /arch/arm/mm/highmem.c
parentARM: 6273/1: Add barriers to the I/O accessors if ARM_DMA_MEM_BUFFERABLE (diff)
downloadlinux-b92b3612134faff171981fad4f0adb33f485e02e.tar.xz
linux-b92b3612134faff171981fad4f0adb33f485e02e.zip
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 'arch/arm/mm/highmem.c')
0 files changed, 0 insertions, 0 deletions