From: Lennert Buytenhek Date: Sun, 24 Aug 2008 03:41:09 +0000 (+0200) Subject: mv643xx_eth: switch ->phy_lock from a spinlock to a mutex X-Git-Tag: v2.6.28-rc1~717^2~194^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b3ba0e3ea3aa9383d38cf95fabd24ca35483784;p=pandora-kernel.git mv643xx_eth: switch ->phy_lock from a spinlock to a mutex Since commit 81600eea98789da09a32de69ca9d3be8b9503c54 ("mv643xx_eth: use auto phy polling for configuring (R)(G)MII interface"), mv643xx_eth no longer does SMI accesses from interrupt context. The only other callers that do SMI accesses all do them from process context, which means we can switch the PHY lock from a spinlock to a mutex, and get rid of the extra locking in some ethtool methods. Signed-off-by: Lennert Buytenhek --- Reading git-diff-tree failed