swconfig: use a mutex instead of a spinlock, many swconfig calls sleep
authorFelix Fietkau <nbd@openwrt.org>
Thu, 15 Mar 2012 19:32:31 +0000 (19:32 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 15 Mar 2012 19:32:31 +0000 (19:32 +0000)
commita86e95542d27a6cc5a179fbbd98e020bcb9420f0
treee1b2f1fa1632d1ce781e0cd5534858c33f54dbb3
parent531638e8392e9a1508dfd35748922c6964e5605c
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