dwc_eth_qos: use GFP_KERNEL in dma_alloc_coherent()
authorRabin Vincent <rabinv@axis.com>
Mon, 29 Feb 2016 15:22:32 +0000 (16:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2016 19:57:15 +0000 (14:57 -0500)
commite8b0c32eae319e287d0329b4148c9a1a51525053
tree051b9d5f8bddd0acc3801801a852f8e991dfca61
parentd4dc35f26e1017e2a632339ecae43706cbc06986
dwc_eth_qos: use GFP_KERNEL in dma_alloc_coherent()

Since we are in non-atomic context here we can pass GFP_KERNEL to
dma_alloc_coherent(). This enables use of the CMA.

Signed-off-by: Rabin Vincent <rabinv@axis.com>
Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/synopsys/dwc_eth_qos.c