Commit:     750d1d1ca1d2e94e15393927fd3c30222d1c5203
Parent:     124d795d16b018b054956c9be561f889acf95ac4
Author:     Stephen Rothwell <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 15 20:58:23 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Aug 17 11:02:06 2007 +1000

    [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: Stephen Rothwell <[EMAIL PROTECTED]>
    Acked-by: Olof Johansson <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 arch/powerpc/platforms/pasemi/iommu.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/pasemi/iommu.c 
index f33b21b..c910ec9 100644
--- a/arch/powerpc/platforms/pasemi/iommu.c
+++ b/arch/powerpc/platforms/pasemi/iommu.c
@@ -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;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to