projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swconfig: use a mutex instead of a spinlock, many swconfig calls sleep
[openwrt/staging/mkresin.git]
/
target
/
linux
/
generic
/
files
/
include
/
linux
/
switch.h
diff --git
a/target/linux/generic/files/include/linux/switch.h
b/target/linux/generic/files/include/linux/switch.h
index 2c88bb327659f71b54113bce91cdd385d2c114aa..4f4085ef89b533d09443d54eb4e9daacd78b8cb1 100644
(file)
--- a/
target/linux/generic/files/include/linux/switch.h
+++ b/
target/linux/generic/files/include/linux/switch.h
@@
-191,7
+191,7
@@
struct switch_dev {
struct list_head dev_list;
unsigned long def_global, def_port, def_vlan;
- s
pinlock_t lock
;
+ s
truct mutex sw_mutex
;
struct switch_port *portbuf;
char buf[128];