AMD IOMMU: use iommu_device_max_index
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Sun, 28 Sep 2008 15:06:36 +0000 (00:06 +0900)
committerIngo Molnar <mingo@elte.hu>
Thu, 2 Oct 2008 09:33:41 +0000 (11:33 +0200)
commit40becd8d5af03ee7935e79c3fccd0d1f380d95b4
tree780b673196fc45251e3eb9888cb6271feebbc15a
parent24268245d8ba9270152b2281666099ddc8ca389d
AMD IOMMU: use iommu_device_max_index

AMD IOMMU can use iommu_device_max_index() instead of the homegrown
function.

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>
arch/x86/kernel/amd_iommu.c