Commit 9a86bbb9 authored by Tony Luck's avatar Tony Luck

[IA64] Fix - Section mismatch: reference to .init.data:mvec_name

machvec_init() should be __init.  And then so should hwsw_init().
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent b9ae3bd2
...@@ -63,7 +63,7 @@ use_swiotlb (struct device *dev) ...@@ -63,7 +63,7 @@ use_swiotlb (struct device *dev)
return dev && dev->dma_mask && !hwiommu_dma_supported(dev, *dev->dma_mask); return dev && dev->dma_mask && !hwiommu_dma_supported(dev, *dev->dma_mask);
} }
void void __init
hwsw_init (void) hwsw_init (void)
{ {
/* default to a smallish 2MB sw I/O TLB */ /* default to a smallish 2MB sw I/O TLB */
......
...@@ -35,7 +35,7 @@ lookup_machvec (const char *name) ...@@ -35,7 +35,7 @@ lookup_machvec (const char *name)
return 0; return 0;
} }
void void __init
machvec_init (const char *name) machvec_init (const char *name)
{ {
struct ia64_machine_vector *mv; struct ia64_machine_vector *mv;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment