OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
405137d
)
[DECNET] ROUTE: remove unecessary alignment
author
Eric Dumazet
<dada1@cosmosbay.com>
Fri, 8 Feb 2008 07:29:57 +0000
(23:29 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 8 Feb 2008 07:29:57 +0000
(23:29 -0800)
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>
net/decnet/dn_route.c
patch
|
blob
|
history
diff --git
a/net/decnet/dn_route.c
b/net/decnet/dn_route.c
index
31be29b
..
9dc0abb
100644
(file)
--- 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;