]> Git Repo - linux.git/commitdiff
ia64: Fix allnoconfig section mismatch for ioc_init/ioc_iommu_info
authorTony Luck <[email protected]>
Wed, 22 Aug 2018 20:39:21 +0000 (13:39 -0700)
committerLinus Torvalds <[email protected]>
Wed, 22 Aug 2018 21:12:47 +0000 (14:12 -0700)
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]>
arch/ia64/hp/common/sba_iommu.c

index ee5b652d320a1423d8eddc364b7cec76f1ba514d..671ce1e3f6f29f9966bdbca5ae3df15229aecfae 100644 (file)
@@ -1805,7 +1805,7 @@ static struct ioc_iommu ioc_iommu_info[] __initdata = {
        { SX2000_IOC_ID, "sx2000", NULL },
 };
 
-static void ioc_init(unsigned long hpa, struct ioc *ioc)
+static void __init ioc_init(unsigned long hpa, struct ioc *ioc)
 {
        struct ioc_iommu *info;
 
@@ -2002,7 +2002,7 @@ sba_map_ioc_to_node(struct ioc *ioc, acpi_handle handle)
 #endif
 }
 
-static void acpi_sba_ioc_add(struct ioc *ioc)
+static void __init acpi_sba_ioc_add(struct ioc *ioc)
 {
        acpi_handle handle = ioc->handle;
        acpi_status status;
This page took 0.063353 seconds and 4 git commands to generate.