Skip to content

Commit

Permalink
powerpc: Pass a valid token to rtas_call() in phyp-dump code
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Nathan Lynch <[email protected]>
Acked-by: Manish Ahuja <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
  • Loading branch information
tbreeds authored and paulusmack committed Dec 21, 2008
1 parent 7a2eab0 commit 532774e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/pseries/phyp_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 532774e

Please sign in to comment.