diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2011-11-02 13:39:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-02 16:07:02 -0700 |
commit | 842fa69f3e0c9a178b294e7af7c07f4c9d9e7af2 (patch) | |
tree | 5c7b18074454b5ffa8e11175cfe7de08e6549ca7 /kernel/rwsem.c | |
parent | c736de60aed869df8a9aba512cdaf89e32545b00 (diff) | |
download | op-kernel-dev-842fa69f3e0c9a178b294e7af7c07f4c9d9e7af2.zip op-kernel-dev-842fa69f3e0c9a178b294e7af7c07f4c9d9e7af2.tar.gz |
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>
Diffstat (limited to 'kernel/rwsem.c')
0 files changed, 0 insertions, 0 deletions