aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/Kconfig
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2013-07-02 01:45:15 -0400
committerMarek Szyprowski <m.szyprowski@samsung.com>2013-07-02 04:08:22 -0400
commitf825c736e75b11adb59ec52a4a1096efddd2ec97 (patch)
tree0592b3e3cf216341da2daa072874be0fc7d284d9 /drivers/base/Kconfig
parent8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 (diff)
mm/cma: Move dma contiguous changes into a seperate config
We want to use CMA for allocating hash page table and real mode area for PPC64. Hence move DMA contiguous related changes into a seperate config so that ppc64 can enable CMA without requiring DMA contiguous. Acked-by: Michal Nazarewicz <mina86@mina86.com> Acked-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> [removed defconfig changes] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'drivers/base/Kconfig')
-rw-r--r--drivers/base/Kconfig20
1 files changed, 4 insertions, 16 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index 07abd9d76f7f..10cd80af2aec 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -202,11 +202,9 @@ config DMA_SHARED_BUFFER
202 APIs extension; the file's descriptor can then be passed on to other 202 APIs extension; the file's descriptor can then be passed on to other
203 driver. 203 driver.
204 204
205config CMA 205config DMA_CMA
206 bool "Contiguous Memory Allocator" 206 bool "DMA Contiguous Memory Allocator"
207 depends on HAVE_DMA_CONTIGUOUS && HAVE_MEMBLOCK 207 depends on HAVE_DMA_CONTIGUOUS && CMA
208 select MIGRATION
209 select MEMORY_ISOLATION
210 help 208 help
211 This enables the Contiguous Memory Allocator which allows drivers 209 This enables the Contiguous Memory Allocator which allows drivers
212 to allocate big physically-contiguous blocks of memory for use with 210 to allocate big physically-contiguous blocks of memory for use with
@@ -215,17 +213,7 @@ config CMA
215 For more information see <include/linux/dma-contiguous.h>. 213 For more information see <include/linux/dma-contiguous.h>.
216 If unsure, say "n". 214 If unsure, say "n".
217 215
218if CMA 216if DMA_CMA
219
220config CMA_DEBUG
221 bool "CMA debug messages (DEVELOPMENT)"
222 depends on DEBUG_KERNEL
223 help
224 Turns on debug messages in CMA. This produces KERN_DEBUG
225 messages for every CMA call as well as various messages while
226 processing calls such as dma_alloc_from_contiguous().
227 This option does not affect warning and error messages.
228
229comment "Default contiguous memory area size:" 217comment "Default contiguous memory area size:"
230 218
231config CMA_SIZE_MBYTES 219config CMA_SIZE_MBYTES