summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2010-06-05 09:05:47 -0400
committerChris Metcalf <cmetcalf@tilera.com>2010-06-05 10:26:55 -0400
commit482e6f8466ab1066f1a969bcdbe916b56439622c (patch)
tree52848e31bfc699437430d586b68e732250cbaf03 /arch/tile
parent867e359b97c970a60626d5d76bbe2a8fadbf38fb (diff)
downloadop-kernel-dev-482e6f8466ab1066f1a969bcdbe916b56439622c.zip
op-kernel-dev-482e6f8466ab1066f1a969bcdbe916b56439622c.tar.gz
arch/tile: Do not use GFP_KERNEL for dma_alloc_coherent().
Feedback from fujita.tomonori@lab.ntt.co.jp. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/kernel/pci-dma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/tile/kernel/pci-dma.c b/arch/tile/kernel/pci-dma.c
index 1d45640..5ad5e13 100644
--- 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
OpenPOWER on IntegriCloud