summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2011-10-26 18:15:07 +0200
committerIngo Molnar <mingo@elte.hu>2011-12-05 18:22:53 +0100
commit61ed26e388ac67da262bb1a95d0474e4cabd4b0d (patch)
tree0637ba45080c3d269234659932cfb0d9280bb8b9 /drivers/iommu
parentintel-iommu: Fix section mismatch in dmar_parse_rmrr_atsr_dev() (diff)
downloadlinux-61ed26e388ac67da262bb1a95d0474e4cabd4b0d.tar.xz
linux-61ed26e388ac67da262bb1a95d0474e4cabd4b0d.zip
intr_remapping: Fix section mismatch in ir_dev_scope_init()
Fix: Section mismatch in reference from the function ir_dev_scope_init() to the function .init.text:dmar_dev_scope_init() The function ir_dev_scope_init() references the function __init dmar_dev_scope_init(). Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Cc: Suresh Siddha <suresh.b.siddha@intel.com> Cc: Youquan Song <youquan.song@intel.com> Cc: Ohad Ben-Cohen <ohad@wizery.com> Link: http://lkml.kernel.org/r/20111026161507.GB10103@swordfish Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/intr_remapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intr_remapping.c b/drivers/iommu/intr_remapping.c
index 07c9f189f314..6777ca049471 100644
--- a/drivers/iommu/intr_remapping.c
+++ b/drivers/iommu/intr_remapping.c
@@ -773,7 +773,7 @@ int __init parse_ioapics_under_ir(void)
return ir_supported;
}
-int ir_dev_scope_init(void)
+int __init ir_dev_scope_init(void)
{
if (!intr_remapping_enabled)
return 0;