ROUTE: remove unecessary alignment
Subsystems (2)
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 <[email protected]>
net/decnet/dn_route.c +1 -1
@@ -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;
From: Eric Dumazet <[email protected]>
Date: Fri, 08 Feb 2008 08:21:06 +0100
Quoted 6 lines
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 <[email protected]>
Applied, anyone who shows love for DecNET deserves some love in return :-)