From 36e808585d93871d3d7ea786403dfbbe19c49fc8 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Thu, 26 Aug 2010 13:58:04 -0400 Subject: [PATCH] --- yaml --- r: 212242 b: refs/heads/master c: 4db77ff3237a88ea74f691dd776e92b2f86a8f3f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/pci/dmar.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 1ffd02efa0c1..9ee782862ccd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 22e6daf41ba28ddc06295e42859b266f737b3e99 +refs/heads/master: 4db77ff3237a88ea74f691dd776e92b2f86a8f3f diff --git a/trunk/drivers/pci/dmar.c b/trunk/drivers/pci/dmar.c index 5fa64ea5416f..4ef56a0920a7 100644 --- a/trunk/drivers/pci/dmar.c +++ b/trunk/drivers/pci/dmar.c @@ -36,6 +36,7 @@ #include #include #include +#include #define PREFIX "DMAR: " @@ -724,7 +725,7 @@ int __init detect_intel_iommu(void) early_acpi_os_unmap_memory(dmar_tbl, dmar_tbl_size); dmar_tbl = NULL; - return (ret ? 1 : -ENODEV); + return ret ? 1 : -ENODEV; } @@ -1457,3 +1458,4 @@ int __init dmar_ir_support(void) return 0; return dmar->flags & 0x1; } +IOMMU_INIT_POST(detect_intel_iommu);