diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-15 00:11:29 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:22:55 -0500 |
commit | 30d492da738a8d5f4ec884b3e1a13eef97714994 (patch) | |
tree | 6184b7fd083a41315ce84379fae0faf0c1749462 /net/atm/mpoa_caches.c | |
parent | 42d224aa170a4f7446cea6c972d9302d524545e5 (diff) |
[ATM]: Annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/mpoa_caches.c')
-rw-r--r-- | net/atm/mpoa_caches.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/atm/mpoa_caches.c b/net/atm/mpoa_caches.c index fbf13cdcf46e..f3b99b38c91b 100644 --- a/net/atm/mpoa_caches.c +++ b/net/atm/mpoa_caches.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #define ddprintk(format,args...) | 22 | #define ddprintk(format,args...) |
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | static in_cache_entry *in_cache_get(uint32_t dst_ip, | 25 | static in_cache_entry *in_cache_get(__be32 dst_ip, |
26 | struct mpoa_client *client) | 26 | struct mpoa_client *client) |
27 | { | 27 | { |
28 | in_cache_entry *entry; | 28 | in_cache_entry *entry; |
@@ -42,9 +42,9 @@ static in_cache_entry *in_cache_get(uint32_t dst_ip, | |||
42 | return NULL; | 42 | return NULL; |
43 | } | 43 | } |
44 | 44 | ||
45 | static in_cache_entry *in_cache_get_with_mask(uint32_t dst_ip, | 45 | static in_cache_entry *in_cache_get_with_mask(__be32 dst_ip, |
46 | struct mpoa_client *client, | 46 | struct mpoa_client *client, |
47 | uint32_t mask) | 47 | __be32 mask) |
48 | { | 48 | { |
49 | in_cache_entry *entry; | 49 | in_cache_entry *entry; |
50 | 50 | ||
@@ -84,7 +84,7 @@ static in_cache_entry *in_cache_get_by_vcc(struct atm_vcc *vcc, | |||
84 | return NULL; | 84 | return NULL; |
85 | } | 85 | } |
86 | 86 | ||
87 | static in_cache_entry *in_cache_add_entry(uint32_t dst_ip, | 87 | static in_cache_entry *in_cache_add_entry(__be32 dst_ip, |
88 | struct mpoa_client *client) | 88 | struct mpoa_client *client) |
89 | { | 89 | { |
90 | in_cache_entry* entry = kmalloc(sizeof(in_cache_entry), GFP_KERNEL); | 90 | in_cache_entry* entry = kmalloc(sizeof(in_cache_entry), GFP_KERNEL); |
@@ -319,7 +319,7 @@ static void in_destroy_cache(struct mpoa_client *mpc) | |||
319 | return; | 319 | return; |
320 | } | 320 | } |
321 | 321 | ||
322 | static eg_cache_entry *eg_cache_get_by_cache_id(uint32_t cache_id, struct mpoa_client *mpc) | 322 | static eg_cache_entry *eg_cache_get_by_cache_id(__be32 cache_id, struct mpoa_client *mpc) |
323 | { | 323 | { |
324 | eg_cache_entry *entry; | 324 | eg_cache_entry *entry; |
325 | 325 | ||
@@ -339,7 +339,7 @@ static eg_cache_entry *eg_cache_get_by_cache_id(uint32_t cache_id, struct mpoa_c | |||
339 | } | 339 | } |
340 | 340 | ||
341 | /* This can be called from any context since it saves CPU flags */ | 341 | /* This can be called from any context since it saves CPU flags */ |
342 | static eg_cache_entry *eg_cache_get_by_tag(uint32_t tag, struct mpoa_client *mpc) | 342 | static eg_cache_entry *eg_cache_get_by_tag(__be32 tag, struct mpoa_client *mpc) |
343 | { | 343 | { |
344 | unsigned long flags; | 344 | unsigned long flags; |
345 | eg_cache_entry *entry; | 345 | eg_cache_entry *entry; |
@@ -380,7 +380,7 @@ static eg_cache_entry *eg_cache_get_by_vcc(struct atm_vcc *vcc, struct mpoa_clie | |||
380 | return NULL; | 380 | return NULL; |
381 | } | 381 | } |
382 | 382 | ||
383 | static eg_cache_entry *eg_cache_get_by_src_ip(uint32_t ipaddr, struct mpoa_client *mpc) | 383 | static eg_cache_entry *eg_cache_get_by_src_ip(__be32 ipaddr, struct mpoa_client *mpc) |
384 | { | 384 | { |
385 | eg_cache_entry *entry; | 385 | eg_cache_entry *entry; |
386 | 386 | ||