diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2009-11-18 19:08:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 19:08:26 +0100 |
commit | eeb74a9d45f781ec6f47b9e0a75a6a427b53f165 (patch) | |
tree | e996e55e190f6003e33b4fbe41600ff8528a100b /include/net/phonet | |
parent | net: device name allocation cleanups (diff) | |
download | linux-eeb74a9d45f781ec6f47b9e0a75a6a427b53f165.tar.xz linux-eeb74a9d45f781ec6f47b9e0a75a6a427b53f165.zip |
Phonet: convert devices list to RCU
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/phonet')
-rw-r--r-- | include/net/phonet/pn_dev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/phonet/pn_dev.h b/include/net/phonet/pn_dev.h index afa7defceb14..d7b989ca3d63 100644 --- a/include/net/phonet/pn_dev.h +++ b/include/net/phonet/pn_dev.h @@ -25,7 +25,7 @@ struct phonet_device_list { struct list_head list; - spinlock_t lock; + struct mutex lock; }; struct phonet_device_list *phonet_device_list(struct net *net); |