Skip to content
Commit 842fa69f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c736de60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment