diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-03-21 07:35:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 07:35:41 +0100 |
commit | 57b47a53ec4a67691ba32cff5768e8d78fa6c67f (patch) | |
tree | d735ae4734f7b386eefa508a0629715f45808d1d /net/atm/resources.h | |
parent | [ATM] suni: cast arg properly in SONET_SETFRAMING (diff) | |
download | linux-57b47a53ec4a67691ba32cff5768e8d78fa6c67f.tar.xz linux-57b47a53ec4a67691ba32cff5768e8d78fa6c67f.zip |
[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.h | 3 |
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); |