Re: [PATCH] IA64, sba_iommu: fix section mismatch

2014-02-16 Thread Jiang Liu
Thanks for reminder, will send out v2. On 2014/2/17 14:57, Yijing Wang wrote: >> -static int __init >> +static int >> acpi_sba_ioc_add(struct acpi_device *device, >> const struct acpi_device_id *not_used) >> { >> > > Hi Gerry, >ioc_init() and sba_map_ioc_to_node() in this func

Re: [PATCH] IA64, sba_iommu: fix section mismatch

2014-02-16 Thread Yijing Wang
> -static int __init > +static int > acpi_sba_ioc_add(struct acpi_device *device, >const struct acpi_device_id *not_used) > { > Hi Gerry, ioc_init() and sba_map_ioc_to_node() in this function seems also have the __init annotate. -- Thanks! Yijing -- To unsubscribe from t

[PATCH] IA64, sba_iommu: fix section mismatch

2014-02-16 Thread Jiang Liu
Fix the section mismatch warning by remove __init annotate for function acpi_sba_ioc_add() because it 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_s