diff options
| author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2002-10-31 19:39:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-31 19:39:08 -0800 |
| commit | 57075741fd14413de99ee67ca7deb913d4d241f5 (patch) | |
| tree | 118888eeff477f03496b7293e3f9b38073b58885 | |
| parent | 9849f0b9d5a4fe8719b69247aa91a8bfa9ec4c2e (diff) | |
[PATCH] add voyager specific extra key map
| -rw-r--r-- | drivers/char/sysrq.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c index 18e180b5bd3b..ea723c434258 100644 --- a/drivers/char/sysrq.c +++ b/drivers/char/sysrq.c @@ -35,6 +35,10 @@ #include <asm/ptrace.h> +#ifdef CONFIG_VOYAGER +#include <asm/voyager.h> +#endif + extern void reset_vc(unsigned int); extern struct list_head super_blocks; @@ -319,6 +323,14 @@ static struct sysrq_key_op sysrq_term_op = { action_msg: "Terminate All Tasks", }; +#ifdef CONFIG_VOYAGER +static struct sysrq_key_op sysrq_voyager_dump_op = { + handler: voyager_dump, + help_msg: "voyager", + action_msg: "Dump Voyager Status\n", +}; +#endif + static void sysrq_handle_kill(int key, struct pt_regs *pt_regs, struct tty_struct *tty) { @@ -352,7 +364,11 @@ static struct sysrq_key_op *sysrq_key_table[SYSRQ_KEY_TABLE_LENGTH] = { 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, |
