]> git.baikalelectronics.ru Git - kernel.git/commit
AMD IOMMU: save pci_dev instead of devid
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 8 Sep 2008 13:55:10 +0000 (15:55 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Sep 2008 10:59:13 +0000 (12:59 +0200)
commit4860bd938e4466f7476ef1401fb0f4398e646a7f
tree8635314b3369734431435fb735979435a06329a2
parentcce100ed61f21c09029489faae5dbddd6acc57dc
AMD IOMMU: save pci_dev instead of devid

We need the pci_dev later anyways to enable MSI for the IOMMU hardware.
So remove the devid pointing to the BDF and replace it with the pci_dev
structure where the IOMMU is implemented.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu_init.c
include/asm-x86/amd_iommu_types.h