diff options
| author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-09 01:14:38 -0500 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-09 01:14:38 -0500 |
| commit | bcd6acd51f3d4d1ada201e9bc5c40a31d6d80c71 (patch) | |
| tree | 2f6dffd2d3e4dd67355a224de7e7a960335a92fd /include/net/phonet/pn_dev.h | |
| parent | 11c34c7deaeeebcee342cbc35e1bb2a6711b2431 (diff) | |
| parent | 3ff6a468b45b5dfeb0e903e56f4eb27d34b2437c (diff) | |
Merge commit 'origin/master' into next
Conflicts:
include/linux/kvm.h
Diffstat (limited to 'include/net/phonet/pn_dev.h')
| -rw-r--r-- | include/net/phonet/pn_dev.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/net/phonet/pn_dev.h b/include/net/phonet/pn_dev.h index 44c923c9e21d..d7b989ca3d63 100644 --- a/include/net/phonet/pn_dev.h +++ b/include/net/phonet/pn_dev.h | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | 25 | ||
| 26 | struct phonet_device_list { | 26 | struct phonet_device_list { |
| 27 | struct list_head list; | 27 | struct list_head list; |
| 28 | spinlock_t lock; | 28 | struct mutex lock; |
| 29 | }; | 29 | }; |
| 30 | 30 | ||
| 31 | struct phonet_device_list *phonet_device_list(struct net *net); | 31 | struct phonet_device_list *phonet_device_list(struct net *net); |
| @@ -47,6 +47,12 @@ u8 phonet_address_get(struct net_device *dev, u8 addr); | |||
| 47 | int phonet_address_lookup(struct net *net, u8 addr); | 47 | int phonet_address_lookup(struct net *net, u8 addr); |
| 48 | void phonet_address_notify(int event, struct net_device *dev, u8 addr); | 48 | void phonet_address_notify(int event, struct net_device *dev, u8 addr); |
| 49 | 49 | ||
| 50 | int phonet_route_add(struct net_device *dev, u8 daddr); | ||
| 51 | int phonet_route_del(struct net_device *dev, u8 daddr); | ||
| 52 | void rtm_phonet_notify(int event, struct net_device *dev, u8 dst); | ||
| 53 | struct net_device *phonet_route_get(struct net *net, u8 daddr); | ||
| 54 | struct net_device *phonet_route_output(struct net *net, u8 daddr); | ||
| 55 | |||
| 50 | #define PN_NO_ADDR 0xff | 56 | #define PN_NO_ADDR 0xff |
| 51 | 57 | ||
| 52 | extern const struct file_operations pn_sock_seq_fops; | 58 | extern const struct file_operations pn_sock_seq_fops; |
