• Jiang Liu's avatar
    [IA64] sba_iommu: fix section mismatch · f3ffaaa8
    Jiang Liu authored
    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: default avatarJiang Liu <jiang.liu@linux.intel.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    f3ffaaa8
sba_iommu.c 59.1 KB