summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/include/mach
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-09-16 02:12:19 (GMT)
committerNicolas Pitre <nico@fluxnic.net>2011-11-27 00:21:27 (GMT)
commit6ee723a6570a897208b76ab3e9a495e9106b2f8c (patch)
tree6822cd8b588c789d5e71229f290a6e7b6e32e448 /arch/arm/mach-pxa/include/mach
parent0536bdf33faff4d940ac094c77998cfac368cfff (diff)
downloadlinux-fsl-qoriq-6ee723a6570a897208b76ab3e9a495e9106b2f8c.tar.xz
ARM: simplify __iounmap() when dealing with section based mapping
Firstly, there is no need to have a double pointer here as we're only walking the vmlist and not modifying it. Secondly, for the same reason, we don't need a write lock but only a read lock here, since the lock only protects the coherency of the list nothing else. Lastly, the reason for holding a lock is not what the comment says, so let's remove that misleading piece of information. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach')
0 files changed, 0 insertions, 0 deletions