提交 9a86bbb9 编写于 作者: T 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: NTony Luck <tony.luck@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册