projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
867e359
)
arch/tile: Do not use GFP_KERNEL for dma_alloc_coherent().
author
Chris Metcalf
<cmetcalf@tilera.com>
Sat, 5 Jun 2010 13:05:47 +0000
(09:05 -0400)
committer
Chris Metcalf
<cmetcalf@tilera.com>
Sat, 5 Jun 2010 14:26:55 +0000
(10:26 -0400)
Feedback from fujita.tomonori@lab.ntt.co.jp.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/pci-dma.c
patch
|
blob
|
history
diff --git
a/arch/tile/kernel/pci-dma.c
b/arch/tile/kernel/pci-dma.c
index 1d456404f0653897de9a89082ec78a80c6c862b1..5ad5e13b0fa6accb1901985e11cfb65757ddaf16 100644
(file)
--- a/
arch/tile/kernel/pci-dma.c
+++ b/
arch/tile/kernel/pci-dma.c
@@
-35,8
+35,7
@@
void *dma_alloc_coherent(struct device *dev,
struct page *pg;
dma_addr_t addr;
- /* Set GFP_KERNEL to ensure we have memory with a kernel VA. */
- gfp |= GFP_KERNEL | __GFP_ZERO;
+ gfp |= __GFP_ZERO;
/*
* By forcing NUMA node 0 for 32-bit masks we ensure that the