summary refs log tree commit diff
path: root/drivers/iommu/omap-iommu.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-03-15 12:46:40 +0100
committerJoerg Roedel <joerg.roedel@amd.com>2012-03-15 12:46:40 +0100
commit474d567db3d459d08ed0e683f4ace9b00ac2aa4b (patch)
tree113b7f0cde335f43aadfd0f0861d544b14103bf2 /drivers/iommu/omap-iommu.c
parent525b233c7188069a360a898493d9b51ee8adec35 (diff)
downloadlinux-474d567db3d459d08ed0e683f4ace9b00ac2aa4b.tar.gz
iommu/amd: Don't initialize IOMMUv2 resources when not required
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>
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
0 files changed, 0 insertions, 0 deletions