[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111026161507.GB10103@swordfish>
Date: Wed, 26 Oct 2011 19:15:07 +0300
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Suresh Siddha <suresh.b.siddha@...el.com>,
Youquan Song <youquan.song@...el.com>,
Ohad Ben-Cohen <ohad@...ery.com>, linux-kernel@...r.kernel.org
Subject: [PATCH] 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@...il.com>
---
diff --git a/drivers/iommu/intr_remapping.c b/drivers/iommu/intr_remapping.c
index 07c9f18..6777ca0 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;
--
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