Skip to content

Commit

Permalink
ia64: Fix allnoconfig section mismatch for ioc_init/ioc_iommu_info
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Luck authored and Linus Torvalds committed Aug 22, 2018
1 parent 45b74a6 commit 2edd73a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/ia64/hp/common/sba_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2edd73a

Please sign in to comment.