From: Dale Farnsworth Date: Mon, 16 Jan 2006 23:56:30 +0000 (-0700) Subject: [PATCH] mv643xx_eth: Hold spinlocks only where needed X-Git-Tag: v2.6.16-rc2~366^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f5187035ad475c90ca865318daa09ba43bc3e68;p=pandora-kernel.git [PATCH] mv643xx_eth: Hold spinlocks only where needed This driver has historically held a spin_lock during the entire open and stop functions and while receiving multiple packets. This is unecessarily long and holds locks during calls that may sleep. This patch reduces the size of windows where locks are held. Signed-off-by: Dale Farnsworth mv643xx_eth.c | 172 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 91 insertions(+), 81 deletions(-) Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed