提交 d56c3aaa 编写于 作者: S Stephen Rothwell 提交者: Paul Mackerras

[POWERPC] Fix section mismatch in crash_dump.c

WARNING: vmlinux.o(.text+0x23258): Section mismatch: reference to .init.text:.lmb_reserve (between '.reserve_kdump_trampoline' and '.restore_processor_state')
Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 553fdff6
......@@ -25,7 +25,7 @@
#define DBG(fmt...)
#endif
void reserve_kdump_trampoline(void)
void __init reserve_kdump_trampoline(void)
{
lmb_reserve(0, KDUMP_RESERVE_LIMIT);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册