summaryrefslogtreecommitdiff
path: root/drivers/net/arcnet/Kconfig
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-11-24 08:31:52 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-11-24 19:06:20 (GMT)
commit4bae65c892b4ff9a2797cbfa8526a5f9aaf1b2ed (patch)
treede41062abc162898508da7cb242c090e0858d0b2 /drivers/net/arcnet/Kconfig
parentb92b9040f6e4997b895b7b9c655a158354d28964 (diff)
downloadlinux-4bae65c892b4ff9a2797cbfa8526a5f9aaf1b2ed.tar.xz
tg3: use dma_alloc_coherent() instead of pci_alloc_consistent()
Using dma_alloc_coherent() permits to use GFP_KERNEL allocations instead of GFP_ATOMIC ones. Its better when a machine is out of memory, because this allows driver to sleep to get its memory and succeed its init, especially when allocating high order pages. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arcnet/Kconfig')
0 files changed, 0 insertions, 0 deletions