iommu: export iommu_area_reserve helper function
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>
Showing
- arch/x86/kernel/amd_iommu.c 1 addition, 1 deletionarch/x86/kernel/amd_iommu.c
- arch/x86/kernel/pci-calgary_64.c 1 addition, 1 deletionarch/x86/kernel/pci-calgary_64.c
- arch/x86/kernel/pci-gart_64.c 1 addition, 1 deletionarch/x86/kernel/pci-gart_64.c
- include/linux/iommu-helper.h 1 addition, 0 deletionsinclude/linux/iommu-helper.h
- lib/iommu-helper.c 2 additions, 3 deletionslib/iommu-helper.c
Loading
Please register or sign in to comment