Commit 576d0d55 authored by Christoph Hellwig's avatar Christoph Hellwig

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: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarGuo Ren <ren_guo@c-sky.com>
parent de90d7c4
...@@ -35,7 +35,7 @@ static int __init atomic_pool_init(void) ...@@ -35,7 +35,7 @@ static int __init atomic_pool_init(void)
if (!atomic_pool) if (!atomic_pool)
BUG(); BUG();
page = alloc_pages(GFP_KERNEL | GFP_DMA, get_order(size)); page = alloc_pages(GFP_KERNEL, get_order(size));
if (!page) if (!page)
BUG(); BUG();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment