浏览代码

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>
Sergey Senozhatsky 13 年之前
父节点
当前提交
61ed26e388
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/iommu/intr_remapping.c

+ 1 - 1
drivers/iommu/intr_remapping.c

@@ -773,7 +773,7 @@ int __init parse_ioapics_under_ir(void)
 	return ir_supported;
 	return ir_supported;
 }
 }
 
 
-int ir_dev_scope_init(void)
+int __init ir_dev_scope_init(void)
 {
 {
 	if (!intr_remapping_enabled)
 	if (!intr_remapping_enabled)
 		return 0;
 		return 0;