[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111026154539.GA10103@swordfish>
Date: Wed, 26 Oct 2011 18:45:39 +0300
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: David Woodhouse <dwmw2@...radead.org>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
Joerg Roedel <joerg.roedel@....com>,
Ohad Ben-Cohen <ohad@...ery.com>
Subject: [PATCH] intel-iommu: Fix section mismatch in
dmar_parse_rmrr_atsr_dev()
dmar_parse_rmrr_atsr_dev() calls rmrr_parse_dev() and atsr_parse_dev() both
marked as __init.
Section mismatch in reference from the function dmar_parse_rmrr_atsr_dev() to the
function .init.text:dmar_parse_dev_scope()
The function dmar_parse_rmrr_atsr_dev() references
the function __init dmar_parse_dev_scope().
Section mismatch in reference from the function dmar_parse_rmrr_atsr_dev() to the
function .init.text:dmar_parse_dev_scope()
The function dmar_parse_rmrr_atsr_dev() references
the function __init dmar_parse_dev_scope().
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
---
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
index be1953c..93cd72f 100644
--- a/drivers/iommu/intel-iommu.c
+++ b/drivers/iommu/intel-iommu.c
@@ -3523,7 +3523,7 @@ found:
return 0;
}
-int dmar_parse_rmrr_atsr_dev(void)
+int __init dmar_parse_rmrr_atsr_dev(void)
{
struct dmar_rmrr_unit *rmrr, *rmrr_n;
struct dmar_atsr_unit *atsr, *atsr_n;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists