]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x64, x2apic/intr-remap: Fix the need for RMRR in the DMA-remapping detection
authorSuresh Siddha <suresh.b.siddha@intel.com>
Thu, 10 Jul 2008 18:16:39 +0000 (11:16 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 12 Jul 2008 06:44:50 +0000 (08:44 +0200)
Presence of RMRR structures is not compulsory for enabling DMA-remapping.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Yong Y Wang <yong.y.wang@intel.com>
Cc: Yong Y Wang <yong.y.wang@intel.com>
Cc: akpm@linux-foundation.org
Cc: arjan@linux.intel.com
Cc: andi@firstfloor.org
Cc: ebiederm@xmission.com
Cc: jbarnes@virtuousgeek.org
Cc: steiner@sgi.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/pci/dmar.c

index 5c99f9973987fdd39b54b6fb5137b0823ea59e80..903f1701edfff498ccd78de3780ceceb13d77704 100644 (file)
@@ -419,10 +419,8 @@ int __init dmar_table_init(void)
        }
 
 #ifdef CONFIG_DMAR
-       if (list_empty(&dmar_rmrr_units)) {
+       if (list_empty(&dmar_rmrr_units))
                printk(KERN_INFO PREFIX "No RMRR found\n");
-               return -ENODEV;
-       }
 #endif
 
        return 0;