x86, AMD IOMMU: include amd_iommu_last_bdf in device initialization
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 25 Jul 2008 11:07:50 +0000 (13:07 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 13:45:57 +0000 (15:45 +0200)
commit3a61ec387c9092dfc91a5959145d36835a72fc4c
tree0d2472e8c35715f87f7b4f4343cdcdb1ffaf4df0
parent1ca9fda4b2f3413e4bc748b983f5585629ca0560
x86, AMD IOMMU: include amd_iommu_last_bdf in device initialization

All the values read while searching for amd_iommu_last_bdf are defined as
inclusive. Let the code handle this value as such. Found by Wei Wang. Thanks
Wei.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: iommu@lists.linux-foundation.org
Cc: bhavna.sarathy@amd.com
Cc: robert.richter@amd.com
Cc: Wei Wang <wei.wang2@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu.c
arch/x86/kernel/amd_iommu_init.c