patch-2.3.13 linux/drivers/char/keyboard.c
Next file: linux/drivers/char/logibusmouse.c
Previous file: linux/drivers/char/istallion.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Thu Aug 5 14:43:32 1999
- Orig file:
v2.3.12/linux/drivers/char/keyboard.c
- Orig date:
Sat May 22 12:57:24 1999
diff -u --recursive --new-file v2.3.12/linux/drivers/char/keyboard.c linux/drivers/char/keyboard.c
@@ -155,6 +155,7 @@
#ifdef CONFIG_MAGIC_SYSRQ
static int sysrq_pressed;
+int sysrq_enabled = 1;
#endif
/*
@@ -247,7 +248,7 @@
sysrq_pressed = !up_flag;
return;
} else if (sysrq_pressed) {
- if (!up_flag) {
+ if (!up_flag && sysrq_enabled) {
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)