summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-02-07 23:29:57 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-07 23:29:57 -0800
commitfca09fb732b2cc310110b2fcbf3449df043a96d0 (patch)
tree2e2dbac9fdd92b423a00b6cb587b37a200867a90 /net
parent405137d16fbe4c80b9e06e61af05856027745d23 (diff)
downloadlinux-3.10-fca09fb732b2cc310110b2fcbf3449df043a96d0.tar.gz
linux-3.10-fca09fb732b2cc310110b2fcbf3449df043a96d0.tar.bz2
linux-3.10-fca09fb732b2cc310110b2fcbf3449df043a96d0.zip
[DECNET] ROUTE: remove unecessary alignment
Same alignment requirement was removed on IP route cache in the past. This alignment actually has bad effect on 32 bit arches, uniprocessor, since sizeof(dn_rt_hash_bucket) is forced to 8 bytes instead of 4. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/decnet/dn_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c
index 31be29b8b5a..9dc0abb50ea 100644
--- a/net/decnet/dn_route.c
+++ b/net/decnet/dn_route.c
@@ -94,7 +94,7 @@ struct dn_rt_hash_bucket
{
struct dn_route *chain;
spinlock_t lock;
-} __attribute__((__aligned__(8)));
+};
extern struct neigh_table dn_neigh_table;