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)
commit3248e1682035eef6774c280cd7be19984feb78bb
tree1bf8b30825850d35ee0c386ed226e01b54925d8f
parent15971c3ce3caf9a92b603a61b07e0be8c9b9d276
cnic: Use dma_alloc_coherent().

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>
drivers/net/cnic.c