commit | b1eaef3da5a7bbc48fa9dbefaa2a28e45367fdb1 | [log] [tgz] |
---|---|---|
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | Tue Aug 20 12:12:57 2013 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Aug 21 11:47:39 2013 -0700 |
tree | 2c64447a090dfc9704700f7536ab6b70f5b7a1d7 | |
parent | 65f44679580de05d267f026ed8164539ec5c7a88 [diff] |
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 <sjenning@linux.vnet.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>