Commit 2d6b5f85 authored by Suresh Siddha's avatar Suresh Siddha Committed by Ingo Molnar
Browse files

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: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: default avatarYong 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: default avatarIngo Molnar <mingo@elte.hu>
parent aaa9d1dd
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;