diff options
author | Tony Breeds <tony@bakeyournoodle.com> | 2008-12-15 13:34:43 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-20 22:21:15 -0500 |
commit | 532774ec7fa396da20ca724c0cf83d93ee76622f (patch) | |
tree | d8f155224fa105c0fb13a1b88ddff749fa6924b5 /arch/powerpc/platforms/pseries/phyp_dump.c | |
parent | 7a2eab0d4e656341cc0f6481d722d410f0414f0b (diff) |
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>
Diffstat (limited to 'arch/powerpc/platforms/pseries/phyp_dump.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/phyp_dump.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/phyp_dump.c b/arch/powerpc/platforms/pseries/phyp_dump.c index 16e659a71440..6cf35cd8d0b5 100644 --- a/arch/powerpc/platforms/pseries/phyp_dump.c +++ b/arch/powerpc/platforms/pseries/phyp_dump.c | |||
@@ -414,6 +414,8 @@ static int __init phyp_dump_setup(void) | |||
414 | of_node_put(rtas); | 414 | of_node_put(rtas); |
415 | } | 415 | } |
416 | 416 | ||
417 | ibm_configure_kernel_dump = rtas_token("ibm,configure-kernel-dump"); | ||
418 | |||
417 | print_dump_header(dump_header); | 419 | print_dump_header(dump_header); |
418 | dump_area_length = init_dump_header(&phdr); | 420 | dump_area_length = init_dump_header(&phdr); |
419 | /* align down */ | 421 | /* align down */ |