mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 15:19:51 +00:00
[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>
This commit is contained in:
parent
405137d16f
commit
fca09fb732
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user