From: Seth Jennings Date: Tue, 20 Aug 2013 17:12:57 +0000 (-0500) Subject: drivers: base: move mutex lock out of add_memory_section() X-Git-Tag: v3.12-rc1~184^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1eaef3da5a7bbc48fa9dbefaa2a28e45367fdb1;p=pandora-kernel.git drivers: base: move mutex lock out of add_memory_section() There is no point in releasing the mutex for each section that is added during boot time. Just hold it over the entire initialization loop. Signed-off-by: Seth Jennings Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed