commit | b7cc9554bc73641c9ed4d7eb74b2d6e78f20abea | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Thu Dec 10 11:03:39 2009 +0100 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Thu Dec 10 12:21:31 2009 +0100 |
tree | 42a90d0bcef2932b3aca414bf6620fb13685e9b7 | |
parent | 4528752f49c1f4025473d12bc5fa9181085c3f22 [diff] |
x86/amd-iommu: Fix passthrough mode The data structure changes to use dev->archdata.iommu field broke the iommu=pt mode because in this case the dev->archdata.iommu was left uninitialized. This moves the inititalization of the devices into the main init function and fixes the problem. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>