Re: [PATCH 8/9] csky: don't use GFP_DMA in atomic_pool_init

From: Guo Ren
Date: Mon Nov 05 2018 - 10:48:20 EST


On Mon, Nov 05, 2018 at 01:19:30PM +0100, Christoph Hellwig wrote:
> csky does not implement ZONE_DMA, which means passing GFP_DMA is a no-op.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> arch/csky/mm/dma-mapping.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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();
>
> --
> 2.19.1

Acked-by: Guo Ren <ren_guo@xxxxxxxxx>