diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-11-20 09:01:00 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-20 09:01:00 (GMT) |
commit | f3a216d1da1c034c425c4eafe27a1b45269985c7 (patch) | |
tree | d93f40edc7dd6e2b0575c3999b11e92d27466af4 /lib | |
parent | d214c7537bbf2f247991fb65b3420b0b3d712c67 (diff) | |
download | linux-fsl-qoriq-f3a216d1da1c034c425c4eafe27a1b45269985c7.tar.xz |
netdevice: 82596: Convert netdev->priv to netdev_priv
1. When alloc_etherdev(), no memory be allocated to netdev->priv.
2. And it's need to get a whole page for priv.
For these reasons, use netdev->ml_priv to point to the page is the
best method to convert directly reference of netdev->priv.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions