mirror of https://gitee.com/openkylin/linux.git
intel-iommu: Remove obsolete comment from detect_intel_iommu
Since cacd4213d8
, this comment no longer applies.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
b779260b09
commit
b3a530e4e7
|
@ -698,12 +698,7 @@ int __init detect_intel_iommu(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_INTR_REMAP
|
#ifdef CONFIG_INTR_REMAP
|
||||||
struct acpi_table_dmar *dmar;
|
struct acpi_table_dmar *dmar;
|
||||||
/*
|
|
||||||
* for now we will disable dma-remapping when interrupt
|
|
||||||
* remapping is enabled.
|
|
||||||
* When support for queued invalidation for IOTLB invalidation
|
|
||||||
* is added, we will not need this any more.
|
|
||||||
*/
|
|
||||||
dmar = (struct acpi_table_dmar *) dmar_tbl;
|
dmar = (struct acpi_table_dmar *) dmar_tbl;
|
||||||
if (ret && cpu_has_x2apic && dmar->flags & 0x1)
|
if (ret && cpu_has_x2apic && dmar->flags & 0x1)
|
||||||
printk(KERN_INFO
|
printk(KERN_INFO
|
||||||
|
|
Loading…
Reference in New Issue