]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01e68732dced22e78b525f101aacf9d485d67194
tree051b9d5f8bddd0acc3801801a852f8e991dfca61
parentb591300ec2b9794bbb2a564648dfdc9f2a619943
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