diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-09-16 04:12:19 +0200 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-11-27 01:21:27 +0100 |
commit | 6ee723a6570a897208b76ab3e9a495e9106b2f8c (patch) | |
tree | 6822cd8b588c789d5e71229f290a6e7b6e32e448 /arch/arm/mach-msm/include/mach | |
parent | ARM: move iotable mappings within the vmalloc region (diff) | |
download | linux-6ee723a6570a897208b76ab3e9a495e9106b2f8c.tar.xz linux-6ee723a6570a897208b76ab3e9a495e9106b2f8c.zip |
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-msm/include/mach')
0 files changed, 0 insertions, 0 deletions