mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
543cf4cb3f
commit
ee7e5516be
4 changed files with 164 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue