diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-05-18 14:08:54 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-05-27 16:41:29 +0200 |
commit | e18a8c104d777af46aa5c8573c8a19ba2b5de597 (patch) | |
tree | 4872d1b38d1173b77fb60a9cb93cfc81976d8cdb /arch/sh/lib64 | |
parent | 9cb1fd0efd195590b828b9b865421ad345a4a145 (diff) | |
download | linux-stable-e18a8c104d777af46aa5c8573c8a19ba2b5de597.tar.gz linux-stable-e18a8c104d777af46aa5c8573c8a19ba2b5de597.tar.bz2 linux-stable-e18a8c104d777af46aa5c8573c8a19ba2b5de597.zip |
ia64: Hide the archdata.iommu field behind generic IOMMU_API
There is a generic, kernel wide configuration symbol for enabling the
IOMMU specific bits: CONFIG_IOMMU_API. Implementations (including
INTEL_IOMMU driver) select it so use it here as well.
This makes the conditional archdata.iommu field consistent with other
platforms and also fixes any compile test builds of other IOMMU drivers,
when INTEL_IOMMU is not selected).
For the case when INTEL_IOMMU and COMPILE_TEST are not selected, this
should create functionally equivalent code/choice. With COMPILE_TEST
this field could appear if other IOMMU drivers are chosen but
INTEL_IOMMU not.
Reported-by: kbuild test robot <lkp@intel.com>
Fixes: e93a1695d7fb ("iommu: Enable compile testing for some of drivers")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200518120855.27822-1-krzk@kernel.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'arch/sh/lib64')
0 files changed, 0 insertions, 0 deletions