diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-05-31 17:38:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-10 00:36:18 +0900 |
commit | 98e69566e80c4de231456dbf4e6735ddfeb599db (patch) | |
tree | 5c517e4d1ef930efc48f4be2a44d60059ca65dcd /lib/bitmap.c | |
parent | fab83a044aa7d4b968f466f4eb3946388528497a (diff) |
iommu/amd: Cache pdev pointer to root-bridge
commit c1bf94ec1e12d76838ad485158aecf208ebd8fb9 upstream.
At some point pci_get_bus_and_slot started to enable
interrupts. Since this function is used in the
amd_iommu_resume path it will enable interrupts on resume
which causes a warning. The fix will use a cached pointer
to the root-bridge to re-enable the IOMMU in case the BIOS
is broken.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions