提交 07716e4d 编写于 作者: L Luck, Tony 提交者: H. Peter Anvin

ia64: fix section mismatch swiotlb_dma_init -> swiotlb_init

Impact: Section fix

WARNING: vmlinux.o(.text+0x596d2): Section mismatch in
reference from the function swiotlb_dma_init() to the function
.init.text:swiotlb_init()
The function swiotlb_dma_init() references
the function __init swiotlb_init().
This is often because swiotlb_dma_init lacks a __init
annotation or the annotation of swiotlb_init is wrong.
Signed-off-by: NTony Luck <tony.luck@intel.com>
Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
上级 f98eee8e
......@@ -33,7 +33,7 @@ struct dma_map_ops swiotlb_dma_ops = {
.mapping_error = swiotlb_dma_mapping_error,
};
void swiotlb_dma_init(void)
void __init swiotlb_dma_init(void)
{
dma_ops = &swiotlb_dma_ops;
swiotlb_init();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册