From: Tony Luck Date: Thu, 10 May 2007 18:57:58 +0000 (-0700) Subject: [IA64] Fix - Section mismatch: reference to .init.data:mvec_name X-Git-Tag: v2.6.22-rc1~24^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb;p=linux-2.6 [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 --- diff --git a/arch/ia64/hp/common/hwsw_iommu.c b/arch/ia64/hp/common/hwsw_iommu.c index 2153bcacbe..94e57109fa 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 9620822270..13df337508 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;