diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2014-03-28 11:28:40 +0000 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2014-03-28 11:28:40 +0000 |
commit | 63b4262478ee6384c7efb5279be54236e5d6361b (patch) | |
tree | b76a1d8c045dd81b65d6b64463b9c4ecbbe42231 /drivers/mtd/chips | |
parent | 11f1a7768cb9179b1f1ce6b8027df7531e0704e7 (diff) |
iommu/vt-d: Only call dmar_acpi_dev_scope_init() if DRHD units present
As pointed out by Jörg and fixed in commit 11f1a7768 ("iommu/vt-d: Check
for NULL pointer in dmar_acpi_dev_scope_init(), this code path can
bizarrely get exercised even on AMD IOMMU systems with IRQ remapping
enabled.
In addition to the defensive check for NULL which Jörg added, let's also
just avoid calling the function at all if there aren't an Intel IOMMU
units in the system.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/chips')
0 files changed, 0 insertions, 0 deletions