diff options
author | Alexander Graf <agraf@suse.de> | 2013-07-08 16:16:56 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-07-08 16:16:56 +0200 |
commit | 20f7462aac0b220c56231a15abec9ab99e897136 (patch) | |
tree | 0a2e033cc1dc203846262b311c3c3c88e1f0f8c2 /drivers/base/Kconfig | |
parent | KVM: VMX: mark unusable segment as nonpresent (diff) | |
parent | mm/cma: Move dma contiguous changes into a seperate config (diff) | |
download | linux-20f7462aac0b220c56231a15abec9ab99e897136.tar.xz linux-20f7462aac0b220c56231a15abec9ab99e897136.zip |
Merge remote-tracking branch 'cmadma/for-v3.12-cma-dma' into kvm-ppc-next
Add prerequisite patch for CMA RMA allocation patches
Diffstat (limited to 'drivers/base/Kconfig')
-rw-r--r-- | drivers/base/Kconfig | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index 5daa2599ed48..e373671652b0 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig @@ -200,11 +200,9 @@ config DMA_SHARED_BUFFER APIs extension; the file's descriptor can then be passed on to other driver. -config CMA - bool "Contiguous Memory Allocator" - depends on HAVE_DMA_CONTIGUOUS && HAVE_MEMBLOCK - select MIGRATION - select MEMORY_ISOLATION +config DMA_CMA + bool "DMA Contiguous Memory Allocator" + depends on HAVE_DMA_CONTIGUOUS && CMA help This enables the Contiguous Memory Allocator which allows drivers to allocate big physically-contiguous blocks of memory for use with @@ -213,17 +211,7 @@ config CMA For more information see <include/linux/dma-contiguous.h>. If unsure, say "n". -if CMA - -config CMA_DEBUG - bool "CMA debug messages (DEVELOPMENT)" - depends on DEBUG_KERNEL - help - Turns on debug messages in CMA. This produces KERN_DEBUG - messages for every CMA call as well as various messages while - processing calls such as dma_alloc_from_contiguous(). - This option does not affect warning and error messages. - +if DMA_CMA comment "Default contiguous memory area size:" config CMA_SIZE_MBYTES |