Skip to content

Commit

Permalink
csky: don't use GFP_DMA in atomic_pool_init
Browse files Browse the repository at this point in the history
csky does not implement ZONE_DMA, which means passing GFP_DMA is a no-op.

Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Guo Ren <[email protected]>
  • Loading branch information
Christoph Hellwig committed Dec 1, 2018
1 parent de90d7c commit 576d0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/csky/mm/dma-mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 576d0d5

Please sign in to comment.