swconfig: use a mutex instead of a spinlock, many swconfig calls sleep
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Mar 2012 19:32:31 +0000 (19:32 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Mar 2012 19:32:31 +0000 (19:32 +0000)
commita2e617077c8ad32460b343d7b88696a2c02fc239
treee1b2f1fa1632d1ce781e0cd5534858c33f54dbb3
parentb5e9c6c090f7cde79953d7ebdcd627e36d2fa838
swconfig: use a mutex instead of a spinlock, many swconfig calls sleep

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30952 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/swconfig.c
target/linux/generic/files/include/linux/switch.h