]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
intr_remapping: Fix section mismatch in ir_dev_scope_init()
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Wed, 26 Oct 2011 16:15:07 +0000 (19:15 +0300)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Dec 2011 17:22:53 +0000 (18:22 +0100)
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>
drivers/iommu/intr_remapping.c

index 07c9f189f3143250e5ea2d0ea20fcdaa2b1674df..6777ca049471728d445ec323e3f051bdc19126f9 100644 (file)
@@ -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;