projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de90d7c
)
csky: don't use GFP_DMA in atomic_pool_init
author
Christoph Hellwig
<hch@lst.de>
Sun, 4 Nov 2018 16:46:21 +0000
(17:46 +0100)
committer
Christoph Hellwig
<hch@lst.de>
Sat, 1 Dec 2018 17:07:16 +0000
(18:07 +0100)
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>
arch/csky/mm/dma-mapping.c
patch
|
blob
|
history
diff --git
a/arch/csky/mm/dma-mapping.c
b/arch/csky/mm/dma-mapping.c
index
85437b2
..
ad40469
100644
(file)
--- 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();