Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 750d1d1c authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mackerras
Browse files

[POWERPC] Fix section mismatch in pasemi/iommu.c



These functions are only called by __init functions.

WARNING: vmlinux.o(.text+0x56aa0): Section mismatch: reference to .init.text:.lmb_alloc (between '.iob_init' and '.iommu_init_early_pasemi')

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 124d795d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -187,7 +187,7 @@ static void pci_dma_dev_setup_pasemi(struct pci_dev *dev)
static void pci_dma_bus_setup_null(struct pci_bus *b) { }
static void pci_dma_dev_setup_null(struct pci_dev *d) { }

int iob_init(struct device_node *dn)
int __init iob_init(struct device_node *dn)
{
	unsigned long tmp;
	u32 regword;
@@ -233,7 +233,7 @@ int iob_init(struct device_node *dn)


/* These are called very early. */
void iommu_init_early_pasemi(void)
void __init iommu_init_early_pasemi(void)
{
	int iommu_off;