mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 14:14:24 +08:00
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 <hch@lst.de> Acked-by: Guo Ren <ren_guo@c-sky.com>
This commit is contained in:
parent
de90d7c428
commit
576d0d552b
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user