]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] Fix - Section mismatch: reference to .init.data:mvec_name
authorTony Luck <tony.luck@intel.com>
Thu, 10 May 2007 18:57:58 +0000 (11:57 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 10 May 2007 18:57:58 +0000 (11:57 -0700)
machvec_init() should be __init.  And then so should hwsw_init().

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/hp/common/hwsw_iommu.c
arch/ia64/kernel/machvec.c

index 2153bcacbe6c9d29818608521293d08842594859..94e57109fad658d060542aea2ed9f51bd1d230db 100644 (file)
@@ -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 */
index 9620822270a6e122d00c48cc5bb2acb89b313e10..13df337508e7fe5f6b626ff66735026469acb1b3 100644 (file)
@@ -35,7 +35,7 @@ lookup_machvec (const char *name)
        return 0;
 }
 
-void
+void __init
 machvec_init (const char *name)
 {
        struct ia64_machine_vector *mv;