diff options
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2013-08-20 12:12:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-21 11:47:39 -0700 |
commit | b1eaef3da5a7bbc48fa9dbefaa2a28e45367fdb1 (patch) | |
tree | 2c64447a090dfc9704700f7536ab6b70f5b7a1d7 /drivers/base/attribute_container.c | |
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>
Diffstat (limited to 'drivers/base/attribute_container.c')
0 files changed, 0 insertions, 0 deletions