patch-2.1.31 linux/drivers/char/keyb_m68k.c
Next file: linux/drivers/char/keyboard.c
Previous file: linux/drivers/char/ftape/kernel-interface.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Mar 27 14:36:39 1997
- Orig file:
v2.1.30/linux/drivers/char/keyb_m68k.c
- Orig date:
Thu Nov 7 01:25:56 1996
diff -u --recursive --new-file v2.1.30/linux/drivers/char/keyb_m68k.c linux/drivers/char/keyb_m68k.c
@@ -77,6 +77,13 @@
unsigned char kbd_read_mask = 0x01; /* modified by psaux.c */
+struct wait_queue * keypress_wait = NULL;
+
+void keyboard_wait_for_keypress(void)
+{
+ sleep_on(&keypress_wait);
+}
+
/*
* global state includes the following, and various static variables
* in this module: prev_scancode, shift_state, diacr, npadch, dead_key_next.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov