Skip to content

Commit

Permalink
x64, x2apic/intr-remap: Fix the need for RMRR in the DMA-remapping de…
Browse files Browse the repository at this point in the history
…tection

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>
  • Loading branch information
Suresh Siddha authored and Ingo Molnar committed Jul 12, 2008
1 parent aaa9d1d commit 2d6b5f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/pci/dmar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2d6b5f8

Please sign in to comment.