Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=109b60f0bc1306192c765875badcaa5f3850a0a1
Commit:     109b60f0bc1306192c765875badcaa5f3850a0a1
Parent:     d56c3aaa9f660e5f5f295da74f5d3db510de0ede
Author:     Stephen Rothwell <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 15 20:54:32 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Aug 17 11:02:06 2007 +1000

    [POWERPC] Fix section mismatch in dart_iommu.c
    
    These functions are only called from __init functions.
    
    WARNING: vmlinux.o(.text+0x398f4): Section mismatch: reference to 
.init.text:.lmb_alloc (between '.iommu_init_early_dart' and 
'.pci_dma_bus_setup_dart')
    
    Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/sysdev/dart_iommu.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/sysdev/dart_iommu.c b/arch/powerpc/sysdev/dart_iommu.c
index a1d2042..e0e24b0 100644
--- a/arch/powerpc/sysdev/dart_iommu.c
+++ b/arch/powerpc/sysdev/dart_iommu.c
@@ -204,7 +204,7 @@ static void dart_free(struct iommu_table *tbl, long index, 
long npages)
 }
 
 
-static int dart_init(struct device_node *dart_node)
+static int __init dart_init(struct device_node *dart_node)
 {
        unsigned int i;
        unsigned long tmp, base, size;
@@ -313,7 +313,7 @@ static void pci_dma_bus_setup_dart(struct pci_bus *bus)
                PCI_DN(dn)->iommu_table = &iommu_table_dart;
 }
 
-void iommu_init_early_dart(void)
+void __init iommu_init_early_dart(void)
 {
        struct device_node *dn;
 
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to