swconfig: use a mutex instead of a spinlock, many swconfig calls sleep
SVN-Revision: 30952
This commit is contained in:
@@ -191,7 +191,7 @@ struct switch_dev {
|
||||
struct list_head dev_list;
|
||||
unsigned long def_global, def_port, def_vlan;
|
||||
|
||||
spinlock_t lock;
|
||||
struct mutex sw_mutex;
|
||||
struct switch_port *portbuf;
|
||||
|
||||
char buf[128];
|
||||
|
||||
Reference in New Issue
Block a user