]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/dma-mapping.h: add dma_zalloc_coherent()
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 2 Nov 2011 20:39:33 +0000 (13:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Nov 2011 23:07:02 +0000 (16:07 -0700)
commit48298bce01fd4655c46632907a9678e74874431f
tree5c7b18074454b5ffa8e11175cfe7de08e6549ca7
parent66808232bc3595fabd49c29f8d0ddbdec24c43f5
include/linux/dma-mapping.h: add dma_zalloc_coherent()

Lots of driver code does a dma_alloc_coherent() and then zeroes out the
memory with a memset.  Make it easy for them.

Cc: Alexandre Bounine <alexandre.bounine@idt.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/DMA-API.txt
include/linux/dma-mapping.h