x86/amd-iommu: Use check_device for amd_iommu_dma_supported
commit420aef8a3acfc3e75427107e23d5a9bafd17c477
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 23 Nov 2009 15:14:57 +0000 (23 16:14 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 27 Nov 2009 13:16:30 +0000 (27 14:16 +0100)
treed111ab861c9a98ff57388af31fa2cad49f596ed8
parent318afd41d2eca3224de3fd85a3b9a27a3010a98d
x86/amd-iommu: Use check_device for amd_iommu_dma_supported

The check_device logic needs to include the dma_supported
checks to be really sure. Merge the dma_supported logic into
check_device and use it to implement dma_supported.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu.c