]> git.baikalelectronics.ru Git - kernel.git/commit
swiotlb: add the swiotlb initialization function with iotlb memory
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 10 May 2010 19:15:12 +0000 (15:15 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 7 Jun 2010 15:59:25 +0000 (11:59 -0400)
commitfd85e36e72c47e2bcd4209dc0eca156189d5001e
tree9a78609a90866a3a5313b35208e2e761ce4f3a77
parentc54c18cf8e78c05df742b398849b13efff0448eb
swiotlb: add the swiotlb initialization function with iotlb memory

This enables the caller to initialize swiotlb with its own iotlb
memory.

See "swiotlb: swiotlb: add swiotlb_tbl_map_single library function" for
full description of patchset.

[v2: changed ..with_tlb to ..with_tbl]

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Albert Herranz <albert_herranz@yahoo.es>
include/linux/swiotlb.h
lib/swiotlb.c