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: Tony Breeds <tony@bakeyournoodle.com> Acked-by: Nathan Lynch <ntl@pobox.com> Acked-by: Manish Ahuja <mahujam@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
7a2eab0d4e
commit
532774ec7f
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue