Skip to contentSkip to conversation

intr_remapping: Fix section mismatch in ir_dev_scope_init()

PATCH In review Sergey Senozhatsky 1 participant 2 messages Oct 26, 2011 – Dec 5, 2011 IOMMU

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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().

---

drivers/iommu/intr_remapping.c +1 -1
index 07c9f18..6777ca0 100644
@@ -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;
#1 lore raw
Commit-ID:  61ed26e388ac67da262bb1a95d0474e4cabd4b0d
Gitweb:     http://git.kernel.org/tip/61ed26e388ac67da262bb1a95d0474e4cabd4b0d
Author:     Sergey Senozhatsky <[email protected]>
AuthorDate: Wed, 26 Oct 2011 19:15:07 +0300
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 5 Dec 2011 18:22:53 +0100

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().

---
 drivers/iommu/intr_remapping.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/iommu/intr_remapping.c +1 -1
index 07c9f18..6777ca0 100644
@@ -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;