diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2009-11-18 10:08:26 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-18 10:08:26 -0800 |
commit | eeb74a9d45f781ec6f47b9e0a75a6a427b53f165 (patch) | |
tree | e996e55e190f6003e33b4fbe41600ff8528a100b /include | |
parent | d90310243fd750240755e217c5faa13e24f41536 (diff) |
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')
-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); |