summaryrefslogtreecommitdiffstats
path: root/net/atm/resources.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-03-20 22:35:41 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 22:35:41 -0800
commit57b47a53ec4a67691ba32cff5768e8d78fa6c67f (patch)
treed735ae4734f7b386eefa508a0629715f45808d1d /net/atm/resources.h
parent6613f82dd293b23f582a649b287fadbf8d23e6cf (diff)
downloadop-kernel-dev-57b47a53ec4a67691ba32cff5768e8d78fa6c67f.zip
op-kernel-dev-57b47a53ec4a67691ba32cff5768e8d78fa6c67f.tar.gz
[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 b7fb82a..ac7222f 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);
OpenPOWER on IntegriCloud