提交 532774ec 编写于 作者: T Tony Breeds 提交者: Paul Mackerras

powerpc: Pass a valid token to rtas_call() in phyp-dump code

ibm_configure_kernel_dump is passed as the token to rtas_call() is
never initialised.  This sets it to something sane.
Signed-off-by: NTony Breeds <tony@bakeyournoodle.com>
Acked-by: NNathan Lynch <ntl@pobox.com>
Acked-by: NManish Ahuja <mahujam@gmail.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 7a2eab0d
......@@ -414,6 +414,8 @@ static int __init phyp_dump_setup(void)
of_node_put(rtas);
}
ibm_configure_kernel_dump = rtas_token("ibm,configure-kernel-dump");
print_dump_header(dump_header);
dump_area_length = init_dump_header(&phdr);
/* align down */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册