From: Ivan Vecera Date: Tue, 14 Dec 2010 05:43:19 +0000 (+0000) Subject: be2net: use mutex instead of spin lock for mbox_lock X-Git-Tag: v2.6.37-rc8~13^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2984961c388381c1830f95e1c2dc2137301b1009;p=pandora-kernel.git be2net: use mutex instead of spin lock for mbox_lock Since the mbox polling uses the schedule_timeout, the mbox_lock should be a mutex and not a spin lock. The commit f25b03a replaced udelay() with schedule_timeout() but didn't change mbox_lock to semaphore or mutex. Signed-off-by: Ivan Vecera Signed-off-by: David S. Miller --- Reading git-diff-tree failed