swiotlb: use map_single instead of swiotlb_map_single in swiotlb_alloc_coherent
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 8 Sep 2008 09:53:48 +0000 (18:53 +0900)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Sep 2008 13:53:30 +0000 (15:53 +0200)
commit9dfda12b8b769e224ca4efbc35ace4524b9c017b
treef8a0e5fa2377038df3017d8e4af9f3cdb5267177
parent68e91d61346db4359464d06617500141cfd1442a
swiotlb: use map_single instead of swiotlb_map_single in swiotlb_alloc_coherent

We always need swiotlb memory here so address_needs_mapping and
swiotlb_force testings are irrelevant. map_single should be used here
instead of swiotlb_map_single.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
lib/swiotlb.c