summaryrefslogtreecommitdiff
path: root/net/atm/resources.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-03-21 09:35:41 +0300
committerDavid S. Miller <davem@davemloft.net>2006-03-21 09:35:41 +0300
commit57b47a53ec4a67691ba32cff5768e8d78fa6c67f (patch)
treed735ae4734f7b386eefa508a0629715f45808d1d /net/atm/resources.h
parent6613f82dd293b23f582a649b287fadbf8d23e6cf (diff)
downloadlinux-57b47a53ec4a67691ba32cff5768e8d78fa6c67f.tar.xz
[NET]: sem2mutex part 2
Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/resources.h')
-rw-r--r--net/atm/resources.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/atm/resources.h b/net/atm/resources.h
index b7fb82a93b42..ac7222fee7a8 100644
--- a/net/atm/resources.h
+++ b/net/atm/resources.h
@@ -8,10 +8,11 @@
#include <linux/config.h>
#include <linux/atmdev.h>
+#include <linux/mutex.h>
extern struct list_head atm_devs;
-extern struct semaphore atm_dev_mutex;
+extern struct mutex atm_dev_mutex;
int atm_dev_ioctl(unsigned int cmd, void __user *arg);