Skip to content

Commit ba61c3d

Browse files
LuBaolujoergroedel
authored andcommitted
iommu/vt-d: Use right Kconfig option name
The CONFIG_ prefix should be added in the code. Fixes: 0461825 ("iommu/vt-d: Add Kconfig option to enable/disable scalable mode") Reported-and-tested-by: Kumar, Sanjay K <[email protected]> Signed-off-by: Lu Baolu <[email protected]> Cc: Ashok Raj <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent b74aa02 commit ba61c3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/iommu/intel-iommu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,11 +371,11 @@ int dmar_disabled = 0;
371371
int dmar_disabled = 1;
372372
#endif /* CONFIG_INTEL_IOMMU_DEFAULT_ON */
373373

374-
#ifdef INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON
374+
#ifdef CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON
375375
int intel_iommu_sm = 1;
376376
#else
377377
int intel_iommu_sm;
378-
#endif /* INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON */
378+
#endif /* CONFIG_INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON */
379379

380380
int intel_iommu_enabled = 0;
381381
EXPORT_SYMBOL_GPL(intel_iommu_enabled);

0 commit comments

Comments
 (0)