Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ia64: Fix allnoconfig section mismatch for ioc_init/ioc_iommu_info

This has been broken for an embarassingly long time (since v4.4).

Just needs a couple of __init tags on functions to make the sections
match up.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Tony Luck and committed by
Linus Torvalds
2edd73a4 45b74a65

+2 -2
+2 -2
arch/ia64/hp/common/sba_iommu.c
··· 1805 1805 { SX2000_IOC_ID, "sx2000", NULL }, 1806 1806 }; 1807 1807 1808 - static void ioc_init(unsigned long hpa, struct ioc *ioc) 1808 + static void __init ioc_init(unsigned long hpa, struct ioc *ioc) 1809 1809 { 1810 1810 struct ioc_iommu *info; 1811 1811 ··· 2002 2002 #endif 2003 2003 } 2004 2004 2005 - static void acpi_sba_ioc_add(struct ioc *ioc) 2005 + static void __init acpi_sba_ioc_add(struct ioc *ioc) 2006 2006 { 2007 2007 acpi_handle handle = ioc->handle; 2008 2008 acpi_status status;