x86/amd-iommu: fix broken check in amd_iommu_flush_all_devices
commite0faf54ee82bf9c07f0307b4391caad4020bd659
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Sep 2009 13:45:51 +0000 (3 15:45 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Sep 2009 13:49:56 +0000 (3 15:49 +0200)
treee3091b489ad6ea4cba855f975cb4d46526e69cdf
parentae908c22aa2b9f7d4b41bd02d14e473f79c22dd3
x86/amd-iommu: fix broken check in amd_iommu_flush_all_devices

The amd_iommu_pd_table is indexed by protection domain
number and not by device id. So this check is broken and
must be removed.

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