Skip to content

Commit 2edd73a

Browse files
aegltorvalds
authored andcommitted
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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 45b74a6 commit 2edd73a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/ia64/hp/common/sba_iommu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,7 +1805,7 @@ static struct ioc_iommu ioc_iommu_info[] __initdata = {
18051805
{ SX2000_IOC_ID, "sx2000", NULL },
18061806
};
18071807

1808-
static void ioc_init(unsigned long hpa, struct ioc *ioc)
1808+
static void __init ioc_init(unsigned long hpa, struct ioc *ioc)
18091809
{
18101810
struct ioc_iommu *info;
18111811

@@ -2002,7 +2002,7 @@ sba_map_ioc_to_node(struct ioc *ioc, acpi_handle handle)
20022002
#endif
20032003
}
20042004

2005-
static void acpi_sba_ioc_add(struct ioc *ioc)
2005+
static void __init acpi_sba_ioc_add(struct ioc *ioc)
20062006
{
20072007
acpi_handle handle = ioc->handle;
20082008
acpi_status status;

0 commit comments

Comments
 (0)