Hi James,
This patch (to 2.5.48 plain) moves the Voyager sysrq dump key
from 'C' to 'V' and makes the 'V' a capital V in the help_msg.
The latter is the way that the other sysrq help messages indicate
which character key to use to invoke them, and it would be good
if the Voyager sysrq dump did the same.
It also documents this key in Documentation/sysrq.txt .
Is there any particular reason that Voyager sysrq dump is using
'C' to dump processor info?
BTW, how does someone enable CONFIG_VOYAGER to build a
Voyager kernel?
Please apply.
-- ~Randy--- ./drivers/char/sysrq.c%voy Sun Nov 17 20:29:53 2002 +++ ./drivers/char/sysrq.c Tue Nov 19 15:01:01 2002 @@ -326,7 +326,7 @@ #ifdef CONFIG_VOYAGER static struct sysrq_key_op sysrq_voyager_dump_op = { .handler = voyager_dump, - .help_msg = "voyager", + .help_msg = "Voyager", .action_msg = "Dump Voyager Status\n", }; #endif @@ -364,11 +364,7 @@ it is handled specially on the sparc and will never arrive */ /* b */ &sysrq_reboot_op, -#ifdef CONFIG_VOYAGER -/* c */ &sysrq_voyager_dump_op, -#else /* c */ NULL, -#endif /* d */ NULL, /* e */ &sysrq_term_op, /* f */ NULL, @@ -396,7 +392,11 @@ /* s */ &sysrq_sync_op, /* t */ &sysrq_showstate_op, /* u */ &sysrq_mountro_op, +#ifdef CONFIG_VOYAGER +/* v */ &sysrq_voyager_dump_op, +#else /* v */ NULL, +#endif /* w */ NULL, /* x */ NULL, /* y */ NULL, --- ./Documentation/sysrq.txt%voy Sun Nov 17 20:29:45 2002 +++ ./Documentation/sysrq.txt Tue Nov 19 15:04:25 2002 @@ -59,6 +59,8 @@
'm' - Will dump current memory info to your console.
+'v' - Dumps Voyager SMP processor info to your console. + '0'-'9' - Sets the console log level, controlling which kernel messages will be printed to your console. ('0', for example would make it so that only emergency messages like PANICs or OOPSes would
- 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/
This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:29 EST