commit | 2eefbd63d0c85daa1317636474c226e236beba81 | [log] [tgz] |
---|---|---|
author | Sebastien Dugue <sebastien.dugue@bull.net> | Thu Sep 11 15:34:40 2008 +0200 |
committer | Jeff Garzik <jgarzik@redhat.com> | Wed Sep 24 18:58:55 2008 -0400 |
tree | 2c108c03a261dbc38b77954e96365c2070005d66 | |
parent | d100ba33f8d2c4dbb53b05f5ac49c39a0dd9dd76 [diff] |
ehea: fix mutex and spinlock use Looks like to me that the ehea_fw_handles.lock mutex and the ehea_bcmc_regs.lock spinlock are taken much longer than necessary and could as well be pushed inside the functions that need them (ehea_update_firmware_handles() and ehea_update_bcmc_registrations()) rather than at each callsite. Signed-off-by: Sebastien Dugue <sebastien.dugue@bull.net> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>