iommu/amd: Don't initialize IOMMUv2 resources when not required
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 15 Mar 2012 11:46:40 +0000 (12:46 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 15 Mar 2012 11:46:40 +0000 (12:46 +0100)
Add a check to the init-path of the AMD IOMMUv2 driver if
the hardware is available in the system. Only allocate all
the resources if it is really available.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

No differences found