commit | eeb74a9d45f781ec6f47b9e0a75a6a427b53f165 | [log] [tgz] |
---|---|---|
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | Wed Nov 18 10:08:26 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 18 10:08:26 2009 -0800 |
tree | e996e55e190f6003e33b4fbe41600ff8528a100b | |
parent | d90310243fd750240755e217c5faa13e24f41536 [diff] [blame] |
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>
diff --git a/include/net/phonet/pn_dev.h b/include/net/phonet/pn_dev.h index afa7def..d7b989c 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);