diff options
author | Peter Chen <peter.chen@freescale.com> | 2013-06-08 15:58:29 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-06-03 23:00:59 -0500 |
commit | 58d0cb4f87feacb86a0411fc1e9cedee9e0c30d9 (patch) | |
tree | 7fffb565efb7df299f7a4f9df0d0753d2994de87 | |
parent | b28bd303d17ca8747b678c29f4406472200eb20e (diff) |
ENGR00266285-2 mm: dmapool: export for normal case
It is the same issue with ENGR00217721, and it is also needed
for normal usb case.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
-rw-r--r-- | mm/dmapool.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/dmapool.c b/mm/dmapool.c index 581db59446b6..7b4bdf6bc1fb 100644 --- a/mm/dmapool.c +++ b/mm/dmapool.c @@ -208,7 +208,6 @@ static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) } while (offset < pool->allocation); } -#ifdef CONFIG_FSL_UTP static struct dma_page *pool_alloc_page_nonbufferable(struct dma_pool *pool, gfp_t mem_flags) { struct dma_page *page; @@ -232,7 +231,6 @@ static struct dma_page *pool_alloc_page_nonbufferable(struct dma_pool *pool, gfp } return page; } -#endif static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) { @@ -364,7 +362,6 @@ void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, } EXPORT_SYMBOL(dma_pool_alloc); -#ifdef CONFIG_FSL_UTP /** * dma_pool_alloc_nonbufferable - get a block of consistent memory * @pool: dma pool that will produce the block @@ -415,7 +412,6 @@ void *dma_pool_alloc_nonbufferable(struct dma_pool *pool, gfp_t mem_flags, return retval; } EXPORT_SYMBOL(dma_pool_alloc_nonbufferable); -#endif static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) { |