csky: don't use GFP_DMA in atomic_pool_init
authorChristoph Hellwig <hch@lst.de>
Sun, 4 Nov 2018 16:46:21 +0000 (17:46 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 1 Dec 2018 17:07:16 +0000 (18:07 +0100)
csky does not implement ZONE_DMA, which means passing GFP_DMA is a no-op.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Guo Ren <ren_guo@c-sky.com>
arch/csky/mm/dma-mapping.c

index 85437b21e045d34bec13b66722f7e06418a088a9..ad4046939713af8794bafb10c82ebe5e77d8be88 100644 (file)
@@ -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();