[IA64] sba_iommu: fix section mismatch
authorJiang Liu <jiang.liu@linux.intel.com>
Fri, 28 Feb 2014 19:02:02 +0000 (11:02 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 28 Feb 2014 19:02:02 +0000 (11:02 -0800)
commitf3ffaaa8b727da6c442b5b8cb356c2196b6e2d59
tree5a7d97077bb17bb803308accd6ca1d72b1f5ec4c
parentcfbf8d4857c26a8a307fb7cd258074c9dcd8c691
[IA64] sba_iommu: fix section mismatch
To: linux-kernel@vger.kernel.org

Fix the section mismatch warning by remove __init annotate for functions
ioc_iova_init(), ioc_init() and acpi_sba_ioc_add() because they may be called at runtime.

WARNING: vmlinux.o(.data+0x66ee0): Section mismatch in reference from the variable acpi_sba_ioc_handler to the function .init.text:acpi_sba_ioc_add()
The variable acpi_sba_ioc_handler references
the function __init acpi_sba_ioc_add()

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/hp/common/sba_iommu.c