summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.ninka.net>2002-08-31 09:04:15 -0700
committerDavid S. Miller <davem@nuts.ninka.net>2002-08-31 09:04:15 -0700
commit6b22a7eaa66e9f948b4d2c04aa6bb42180e7300f (patch)
treeb0e0572d869a06abe02a0546eb1cbbc49353aeb5 /include
parent1016206390a89aa1aae6565ee85cadfa822b9f8a (diff)
parent2e907999be74b1104c744edf62f84f3083d80e1d (diff)
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
Diffstat (limited to 'include')
-rw-r--r--include/linux/igmp.h2
-rw-r--r--include/net/tcp.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/igmp.h b/include/linux/igmp.h
index 76cf68f03c25..fd28c22a5036 100644
--- a/include/linux/igmp.h
+++ b/include/linux/igmp.h
@@ -115,7 +115,7 @@ extern void ip_mc_init_dev(struct in_device *);
extern void ip_mc_destroy_dev(struct in_device *);
extern void ip_mc_up(struct in_device *);
extern void ip_mc_down(struct in_device *);
-extern int ip_mc_dec_group(struct in_device *in_dev, u32 addr);
+extern void ip_mc_dec_group(struct in_device *in_dev, u32 addr);
extern void ip_mc_inc_group(struct in_device *in_dev, u32 addr);
#endif
#endif
diff --git a/include/net/tcp.h b/include/net/tcp.h
index e6382e0539e1..0dd375b7fd4b 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -27,6 +27,7 @@
#include <linux/config.h>
#include <linux/tcp.h>
#include <linux/slab.h>
+#include <linux/cache.h>
#include <net/checksum.h>
#include <net/sock.h>
#if defined(CONFIG_IPV6) || defined (CONFIG_IPV6_MODULE)
@@ -120,8 +121,7 @@ extern struct tcp_hashinfo {
* Now align to a new cache line as all the following members
* are often dirty.
*/
- rwlock_t __tcp_lhash_lock
- __attribute__((__aligned__(SMP_CACHE_BYTES)));
+ rwlock_t __tcp_lhash_lock ____cacheline_aligned;
atomic_t __tcp_lhash_users;
wait_queue_head_t __tcp_lhash_wait;
spinlock_t __tcp_portalloc_lock;