]> git.karo-electronics.de Git - mv-sheeva.git/commit
ARM: simplify __iounmap() when dealing with section based mapping
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 16 Sep 2011 02:12:19 +0000 (22:12 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Sun, 27 Nov 2011 00:21:27 +0000 (19:21 -0500)
commit6ee723a6570a897208b76ab3e9a495e9106b2f8c
tree6822cd8b588c789d5e71229f290a6e7b6e32e448
parent0536bdf33faff4d940ac094c77998cfac368cfff
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>
arch/arm/mm/ioremap.c