diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-09-19 04:16:23 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-09-19 04:16:23 -0700 |
commit | 6fdb8bd47111d3f94be221082b725ec2dec1d5c7 (patch) | |
tree | 5a63f297bfa423f31c06e9d8d70c7efd6761a79a /drivers | |
parent | 6b3141962dc82cfe1c30afdf91d564b309859cbe (diff) | |
download | linux-3.10-6fdb8bd47111d3f94be221082b725ec2dec1d5c7.tar.gz linux-3.10-6fdb8bd47111d3f94be221082b725ec2dec1d5c7.tar.bz2 linux-3.10-6fdb8bd47111d3f94be221082b725ec2dec1d5c7.zip |
drivers/dma/dmatest.c: switch a GFP_ATOMIC to GFP_KERNEL
It was needlessly using the unreliable GFP_ATOMIC.
Cc: Timur Tabi <timur@freescale.com>
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/dmatest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c index 422500c6c16..d1e381e35a9 100644 --- a/drivers/dma/dmatest.c +++ b/drivers/dma/dmatest.c @@ -330,7 +330,7 @@ static enum dma_state_client dmatest_add_channel(struct dma_chan *chan) if (dtc->chan == chan) return DMA_DUP; - dtc = kmalloc(sizeof(struct dmatest_chan), GFP_ATOMIC); + dtc = kmalloc(sizeof(struct dmatest_chan), GFP_KERNEL); if (!dtc) { pr_warning("dmatest: No memory for %s\n", chan->dev.bus_id); return DMA_NAK; |