From: Nicolas Pitre Date: Fri, 16 Sep 2011 02:12:19 +0000 (-0400) Subject: ARM: simplify __iounmap() when dealing with section based mapping X-Git-Tag: v3.3-rc1~141^2~3^2~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ee723a6570a897208b76ab3e9a495e9106b2f8c;p=pandora-kernel.git 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 --- Reading git-diff-tree failed