X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fsysrq.c;h=da52bff37f97dc08c1a2ae79f1a4e9d9dba4aec8;hb=f9296eb00ed30209424102d3c920e69617eea853;hp=c9688f111a7de71220ced815b9c463f097e58d3b;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/drivers/char/sysrq.c b/drivers/char/sysrq.c index c9688f111..da52bff37 100644 --- a/drivers/char/sysrq.c +++ b/drivers/char/sysrq.c @@ -107,17 +107,6 @@ static struct sysrq_key_op sysrq_reboot_op = { .action_msg = "Resetting", }; -/* crash sysrq handler */ -static void sysrq_handle_crash(int key, struct pt_regs *pt_regs, - struct tty_struct *tty) { - *( (char *) 0) = 0; -} -static struct sysrq_key_op sysrq_crash_op = { - handler: sysrq_handle_crash, - help_msg: "Crash", - action_msg: "Crashing the kernel by request", -}; - static void sysrq_handle_sync(int key, struct pt_regs *pt_regs, struct tty_struct *tty) { @@ -246,7 +235,7 @@ 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, -/* c */ &sysrq_crash_op, +/* c */ NULL, /* d */ NULL, /* e */ &sysrq_term_op, /* f */ NULL,