]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
add is_buffer_dma_capable helper function
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 9 Sep 2008 16:06:46 +0000 (01:06 +0900)
committerIngo Molnar <mingo@elte.hu>
Wed, 10 Sep 2008 09:33:43 +0000 (11:33 +0200)
commit636dc67cbf8c481a996faf6c23f0532d0f02ebad
tree344e1d8c6e4b91cfb941d2dfba76ac6498393b19
parente92b4fdacc6a7d8cc7895b81347671d5fcd6c5e1
add is_buffer_dma_capable helper function

is_buffer_dma_capable helper function is to see if a memory region is
DMA-capable or not. The arugments are the dma_mask (or
coherent_dma_mask) of a device and the address and size of a memory
region.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/dma-mapping.h