From: Christoph Hellwig Date: Sun, 4 Nov 2018 16:46:21 +0000 (+0100) Subject: csky: don't use GFP_DMA in atomic_pool_init X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=576d0d552be803b22867ed98a8619d68b1f78bbe;p=openwrt%2Fstaging%2Fblogic.git csky: don't use GFP_DMA in atomic_pool_init csky does not implement ZONE_DMA, which means passing GFP_DMA is a no-op. Signed-off-by: Christoph Hellwig Acked-by: Guo Ren --- diff --git a/arch/csky/mm/dma-mapping.c b/arch/csky/mm/dma-mapping.c index 85437b21e045..ad4046939713 100644 --- a/arch/csky/mm/dma-mapping.c +++ b/arch/csky/mm/dma-mapping.c @@ -35,7 +35,7 @@ static int __init atomic_pool_init(void) if (!atomic_pool) BUG(); - page = alloc_pages(GFP_KERNEL | GFP_DMA, get_order(size)); + page = alloc_pages(GFP_KERNEL, get_order(size)); if (!page) BUG();