iommu: export iommu_area_reserve helper function
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 22 Sep 2008 13:35:07 +0000 (22:35 +0900)
committerIngo Molnar <mingo@elte.hu>
Mon, 22 Sep 2008 14:47:50 +0000 (16:47 +0200)
x86 has set_bit_string() that does the exact same thing that
set_bit_area() in lib/iommu-helper.c does.

This patch exports set_bit_area() in lib/iommu-helper.c as
iommu_area_reserve(), converts GART, Calgary, and AMD IOMMU to use it.

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>

No differences found