diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2009-05-06 03:01:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-06 15:33:39 -0700 |
commit | 7fd96ce47ff83fc17ab78d465d8e067467a7f51e (patch) | |
tree | 8267f14b3d6fe21feafe6b8dfd5768fc6010f32f /virt/kvm | |
parent | becfad979d1875aca15ef2a1eda68782e7ac7769 (diff) |
mv643xx_eth: rework receive skb cache alignment
On the platforms that mv643xx_eth is used on, the manual skb->data
alignment logic in mv643xx_eth can be simplified, as the only case we
need to handle is where NET_SKB_PAD is not a multiple of the cache
line size. If this is the case, the extra padding we need can be
computed at compile time, while if NET_SKB_PAD _is_ a multiple of
the cache line size, the code can be optimised out entirely.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions