patch-2.3.4 linux/drivers/char/keyboard.c

Next file: linux/drivers/char/stallion.c
Previous file: linux/drivers/char/i2c-parport.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.3/linux/drivers/char/keyboard.c linux/drivers/char/keyboard.c
@@ -247,9 +247,10 @@
 		sysrq_pressed = !up_flag;
 		return;
 	} else if (sysrq_pressed) {
-		if (!up_flag)
+		if (!up_flag) {
 			handle_sysrq(kbd_sysrq_xlate[keycode], kbd_pt_regs, kbd, tty);
-		return;
+			return;
+		}
 	}
 #endif
 
@@ -474,7 +475,6 @@
 
 static void boot_it(void)
 {
-	if (kbd->slockstate & ~shift_state) return;
 	ctrl_alt_del();
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)