Messages in this thread Patch in this message | | | Date | Wed, 9 Aug 2000 11:48:45 +0200 (MET DST) | From | "Maciej W. Rozycki" <> | Subject | [patch] 2.4.0-test6-pre8: Magic SysRq fixes for serial.c |
| |
Linus,
It appears that someone else's fixes for magic SysRq went into 2.4.0-test6-pre*. That's obviously fine, but one hunk of my patch I've sent you recently should still be applied. Without the hunk, the 8250 serial console driver still ignores the setting of sysrq_enabled and works as if it was enabled all the time.
Following is the hunk extracted from my patch. It applies cleanly.
Maciej
-- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available +
diff -u --recursive --new-file linux-mips-2.4.0-test5-20000731.macro/drivers/char/serial.c linux-mips-2.4.0-test5-20000731/drivers/char/serial.c --- linux-mips-2.4.0-test5-20000731.macro/drivers/char/serial.c Mon Jul 24 04:26:06 2000 +++ linux-mips-2.4.0-test5-20000731/drivers/char/serial.c Sun Aug 6 09:21:03 2000 @@ -597,7 +597,8 @@ printk("handling break...."); #endif #if defined(CONFIG_SERIAL_CONSOLE) && defined(CONFIG_MAGIC_SYSRQ) && !defined(MODULE) - if (info->line == sercons.index) { + if (info->line == sercons.index + && sysrq_enabled) { if (!break_pressed) { break_pressed = jiffies; goto ignore_char;
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |