cnic: Use dma_alloc_coherent().
authorMichael Chan <mchan@broadcom.com>
Wed, 2 Dec 2009 15:15:39 +0000 (15:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 03:57:22 +0000 (19:57 -0800)
Replace pci_alloc_consistent() with dma_alloc_coherent() so that
appropriate GFP flags can be used.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found