Commit 532774ec authored by Tony Breeds's avatar Tony Breeds Committed by 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: default avatarTony Breeds <tony@bakeyournoodle.com>
Acked-by: default avatarNathan Lynch <ntl@pobox.com>
Acked-by: default avatarManish Ahuja <mahujam@gmail.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 7a2eab0d
...@@ -414,6 +414,8 @@ static int __init phyp_dump_setup(void) ...@@ -414,6 +414,8 @@ static int __init phyp_dump_setup(void)
of_node_put(rtas); of_node_put(rtas);
} }
ibm_configure_kernel_dump = rtas_token("ibm,configure-kernel-dump");
print_dump_header(dump_header); print_dump_header(dump_header);
dump_area_length = init_dump_header(&phdr); dump_area_length = init_dump_header(&phdr);
/* align down */ /* align down */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment