diff options
author | Tony Luck <tony.luck@intel.com> | 2007-05-10 14:57:58 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-05-10 14:57:58 -0400 |
commit | 9a86bbb90f3c42e10fce2b9634961ec18f5ca2cb (patch) | |
tree | cfce92682cf62c5632a6ee61a2b7cec426edb1bc /arch | |
parent | b9ae3bd255c3e25880b60a997f1b34ad9535b249 (diff) |
[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 <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/hp/common/hwsw_iommu.c | 2 | ||||
-rw-r--r-- | 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 2153bcacbe6c..94e57109fad6 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) | |||
63 | return dev && dev->dma_mask && !hwiommu_dma_supported(dev, *dev->dma_mask); | 63 | return dev && dev->dma_mask && !hwiommu_dma_supported(dev, *dev->dma_mask); |
64 | } | 64 | } |
65 | 65 | ||
66 | void | 66 | void __init |
67 | hwsw_init (void) | 67 | hwsw_init (void) |
68 | { | 68 | { |
69 | /* default to a smallish 2MB sw I/O TLB */ | 69 | /* default to a smallish 2MB sw I/O TLB */ |
diff --git a/arch/ia64/kernel/machvec.c b/arch/ia64/kernel/machvec.c index 9620822270a6..13df337508e7 100644 --- a/arch/ia64/kernel/machvec.c +++ b/arch/ia64/kernel/machvec.c | |||
@@ -35,7 +35,7 @@ lookup_machvec (const char *name) | |||
35 | return 0; | 35 | return 0; |
36 | } | 36 | } |
37 | 37 | ||
38 | void | 38 | void __init |
39 | machvec_init (const char *name) | 39 | machvec_init (const char *name) |
40 | { | 40 | { |
41 | struct ia64_machine_vector *mv; | 41 | struct ia64_machine_vector *mv; |