summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2008-07-10 11:16:39 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-12 08:44:50 +0200
commit2d6b5f85bb4ca919d8ab0f30311309b53fb93bc3 (patch)
tree518ea92478e5d39a41db9dc89d78976fec7254f2
parentaaa9d1dd63bf89b62f4ea9f46de376ab1a3fbc6c (diff)
x64, x2apic/intr-remap: Fix the need for RMRR in the DMA-remapping detection
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>
-rw-r--r--drivers/pci/dmar.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index 5c99f9973987..903f1701edff 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -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;