diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2011-10-26 18:45:39 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-05 18:22:51 +0100 |
commit | c8f369ab6003a2df3cdae30f9aba641a4a606034 (patch) | |
tree | f51cc613df5c432219ab717346b846f3ad51bf06 /drivers/iommu/intel-iommu.c | |
parent | f62ef5f3e9cff065aa845e2b7f487e1810b8e57e (diff) | |
download | linux-c8f369ab6003a2df3cdae30f9aba641a4a606034.tar.gz linux-c8f369ab6003a2df3cdae30f9aba641a4a606034.tar.bz2 linux-c8f369ab6003a2df3cdae30f9aba641a4a606034.zip |
intel-iommu: Fix section mismatch in dmar_parse_rmrr_atsr_dev()
dmar_parse_rmrr_atsr_dev() calls rmrr_parse_dev() and
atsr_parse_dev() which are 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@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: iommu@lists.linux-foundation.org
Cc: Joerg Roedel <joerg.roedel@amd.com>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Link: http://lkml.kernel.org/r/20111026154539.GA10103@swordfish
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r-- | drivers/iommu/intel-iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index c0c7820d4c46..a004c3945c67 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@ -3524,7 +3524,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; |