PPC64 allow xmon=on,off,early
PATCH 1/1 PPC64 allow xmon=on,off,early
allow 'xmon' or 'xmon=early' to enter xmon very early during boot. allow 'xmon=on' to just enable it, or 'xmon=off' to disable it.
Signed-off-by Olaf Hering <[email protected]>
Signed-off-by Paul Mackerras <[email protected]>
arch/ppc64/kernel/setup.c +6 -0
@@ -1361,6 +1361,12 @@static int __init early_xmon (char *p) {/* ensure xmon is enabled */ +if (p) { +if (strncmp (p,"on" ,2 ) ==0 ) +xmon_init (); +if (strncmp (p,"early" ,5 ) !=0 ) +return 0 ; + }xmon_init ();debugger (NULL );