summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-06-29 14:18:46 +0400
committerIngo Molnar <mingo@elte.hu>2008-06-30 12:51:05 +0200
commitee7e5516be4f2107535ad5a3d47d9c79f93661a2 (patch)
tree57bdb330864036d6241deb8e69f351ee5ee01adb /init
parent543cf4cb3fe6f6cae3651ba918b9c56200b257d0 (diff)
downloadlinux-ee7e5516be4f2107535ad5a3d47d9c79f93661a2.tar.bz2
generic: per-device coherent dma allocator
Currently x86_32, sh and cris-v32 provide per-device coherent dma memory allocator. However their implementation is nearly identical. Refactor out common code to be reused by them. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 6199d1120900..63cdbd8bd3d5 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -802,6 +802,10 @@ config PROC_PAGE_MONITOR
endmenu # General setup
+config HAVE_GENERIC_DMA_COHERENT
+ bool
+ default n
+
config SLABINFO
bool
depends on PROC_FS