diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-11-22 10:57:41 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-22 21:43:32 (GMT) |
commit | 1f2149c1df50c8c712950872675f46e6e44629f0 (patch) | |
tree | a33a556696e27611b6b38cdcbb6de9315f483bd4 /drivers/isdn/hisax/teles_cs.c | |
parent | 84b405011166e663fe9ef56c29b1d76f59b35568 (diff) | |
download | linux-1f2149c1df50c8c712950872675f46e6e44629f0.tar.xz |
net: remove netdev_alloc_page and use __GFP_COLD
Given we dont use anymore the struct net_device *dev argument, and this
interface brings litle benefit, remove netdev_{alloc|free}_page(), to
debloat include/linux/skbuff.h a bit.
(Some drivers used a mix of these interfaces and alloc_pages())
When allocating a page given to device for DMA transfer (device to
memory), it makes sense to use a cold one (__GFP_COLD)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
CC: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hisax/teles_cs.c')
0 files changed, 0 insertions, 0 deletions