diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-04 17:46:21 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-01 18:07:16 +0100 |
commit | 576d0d552be803b22867ed98a8619d68b1f78bbe (patch) | |
tree | 801353b5e3f014ef4cc6693f66c451f70bc96dc1 /arch/csky | |
parent | de90d7c42859d57a59aef3a6ec6e3013bcb337e7 (diff) |
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>
Diffstat (limited to 'arch/csky')
-rw-r--r-- | arch/csky/mm/dma-mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |