Messages in this thread Patch in this message | | | Date | Thu, 17 Mar 2005 22:12:51 +1100 | From | Paul Mackerras <> | Subject | [PATCH] 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 <olh@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
diff -urN linux-2.5/arch/ppc64/kernel/setup.c test/arch/ppc64/kernel/setup.c --- linux-2.5/arch/ppc64/kernel/setup.c 2005-03-07 08:21:53.000000000 +1100 +++ test/arch/ppc64/kernel/setup.c 2005-03-17 21:49:31.000000000 +1100 @@ -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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |