[POWERPC] pseries: phyp dump: Disable phyp-dump through boot-var
commit654f596da4a83a8d2734fba26c2a1257533e6d75
authorManish Ahuja <ahuja@austin.ibm.com>
Sat, 22 Mar 2008 00:38:59 +0000 (22 11:38 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 25 Mar 2008 21:44:07 +0000 (26 08:44 +1100)
treea937646dfd6e225e6b3f25d6adbde921200f21d9
parent242f271c056f49b64b94c06b38fe9e8d3bf703bc
[POWERPC] pseries: phyp dump: Disable phyp-dump through boot-var

This adds a kernel command line option "phyp_dump", which takes a 0/1
value for disabling/ enabling phyp_dump at boot time.  Kdump can use
this on cmdline (phyp_dump=0) to disable phyp-dump during boot when
enabling itself.  This will ensure only one dumping mechanism is active
at any given time.

Signed-off-by: Manish Ahuja <mahuja@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom.c
arch/powerpc/platforms/pseries/phyp_dump.c
include/asm-powerpc/phyp_dump.h