Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb
Commit:     9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb
Parent:     b9ae3bd255c3e25880b60a997f1b34ad9535b249
Author:     Tony Luck <[EMAIL PROTECTED]>
AuthorDate: Thu May 10 11:57:58 2007 -0700
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Thu May 10 11:57:58 2007 -0700

    [IA64] Fix - Section mismatch: reference to .init.data:mvec_name
    
    machvec_init() should be __init.  And then so should hwsw_init().
    
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 arch/ia64/hp/common/hwsw_iommu.c |    2 +-
 arch/ia64/kernel/machvec.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/ia64/hp/common/hwsw_iommu.c b/arch/ia64/hp/common/hwsw_iommu.c
index 2153bca..94e5710 100644
--- a/arch/ia64/hp/common/hwsw_iommu.c
+++ b/arch/ia64/hp/common/hwsw_iommu.c
@@ -63,7 +63,7 @@ use_swiotlb (struct device *dev)
        return dev && dev->dma_mask && !hwiommu_dma_supported(dev, 
*dev->dma_mask);
 }
 
-void
+void __init
 hwsw_init (void)
 {
        /* default to a smallish 2MB sw I/O TLB */
diff --git a/arch/ia64/kernel/machvec.c b/arch/ia64/kernel/machvec.c
index 9620822..13df337 100644
--- a/arch/ia64/kernel/machvec.c
+++ b/arch/ia64/kernel/machvec.c
@@ -35,7 +35,7 @@ lookup_machvec (const char *name)
        return 0;
 }
 
-void
+void __init
 machvec_init (const char *name)
 {
        struct ia64_machine_vector *mv;
-
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