patch-2.4.0-test6 linux/drivers/char/keyboard.c
Next file: linux/drivers/char/msp3400.c
Previous file: linux/drivers/char/joystick/Makefile
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Jul 31 19:36:10 2000
- Orig file:
v2.4.0-test5/linux/drivers/char/keyboard.c
- Orig date:
Wed Feb 16 17:03:52 2000
diff -u --recursive --new-file v2.4.0-test5/linux/drivers/char/keyboard.c linux/drivers/char/keyboard.c
@@ -158,7 +158,6 @@
#ifdef CONFIG_MAGIC_SYSRQ
static int sysrq_pressed;
-int sysrq_enabled = 1;
#endif
static struct pm_dev *pm_kbd = NULL;
@@ -255,7 +254,7 @@
sysrq_pressed = !up_flag;
return;
} else if (sysrq_pressed) {
- if (!up_flag && sysrq_enabled) {
+ if (!up_flag) {
handle_sysrq(kbd_sysrq_xlate[keycode], kbd_pt_regs, kbd, tty);
return;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)