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: sz_161~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0b04aa24f75835301687a8f9d1121620dc6fea3;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 Conflicts: arch/arm/mm/ioremap.c --- Reading git-diff-tree failed