From: Sebastien Dugue Date: Thu, 11 Sep 2008 13:34:40 +0000 (+0200) Subject: ehea: fix mutex and spinlock use X-Git-Tag: v2.6.28-rc1~717^2~195^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2eefbd63d0c85daa1317636474c226e236beba81;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed