projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ATM]: avoid race conditions related to atm_devs list
[powerpc.git]
/
net
/
atm
/
resources.h
diff --git
a/net/atm/resources.h
b/net/atm/resources.h
index
1291061
..
b7fb82a
100644
(file)
--- a/
net/atm/resources.h
+++ b/
net/atm/resources.h
@@
-11,8
+11,7
@@
extern struct list_head atm_devs;
-extern spinlock_t atm_dev_lock;
-
+extern struct semaphore atm_dev_mutex;
int atm_dev_ioctl(unsigned int cmd, void __user *arg);