2011-05-15 10:34:59

by Jan Kiszka

[permalink] [raw]
Subject: [PATCH] intel-iommu: Remove obsolete comment from detect_intel_iommu

From: Jan Kiszka <[email protected]>

Since cacd4213d8, this comment no longer applies.

Signed-off-by: Jan Kiszka <[email protected]>
---
drivers/pci/dmar.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index 12e02bf..3dc9bef 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -698,12 +698,7 @@ int __init detect_intel_iommu(void)
{
#ifdef CONFIG_INTR_REMAP
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;
if (ret && cpu_has_x2apic && dmar->flags & 0x1)
printk(KERN_INFO
--
1.7.1