From: John W. Linville Date: Mon, 25 Oct 2010 14:33:07 +0000 (-0400) Subject: rt2x00pci: do not use GFP_DMA X-Git-Tag: v2.6.38-rc1~476^2~558^2~108 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9237578f8d685bb86901ba9ff0d379218e5a3c5;p=platform%2Fkernel%2Flinux-3.10.git rt2x00pci: do not use GFP_DMA Signed-off-by: John W. Linville Acked-by: Ivo van Doorn --- diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c index 2449d78..868ca19 100644 --- a/drivers/net/wireless/rt2x00/rt2x00pci.c +++ b/drivers/net/wireless/rt2x00/rt2x00pci.c @@ -105,7 +105,7 @@ static int rt2x00pci_alloc_queue_dma(struct rt2x00_dev *rt2x00dev, */ addr = dma_alloc_coherent(rt2x00dev->dev, queue->limit * queue->desc_size, - &dma, GFP_KERNEL | GFP_DMA); + &dma, GFP_KERNEL); if (!addr) return -ENOMEM;