patch-1.3.71 linux/drivers/char/keyboard.c
Next file: linux/drivers/char/selection.h
Previous file: linux/drivers/char/cyclades.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Sun Mar 3 15:31:52 1996
- Orig file:
v1.3.70/linux/drivers/char/keyboard.c
- Orig date:
Sat Mar 2 10:43:24 1996
diff -u --recursive --new-file v1.3.70/linux/drivers/char/keyboard.c linux/drivers/char/keyboard.c
@@ -1153,7 +1153,7 @@
* used, but this allows for easy and efficient race-condition
* prevention later on.
*/
-static void kbd_bh(void * unused)
+static void kbd_bh(void)
{
unsigned char leds = getleds();
@@ -1182,14 +1182,13 @@
ttytab = console_driver.table;
- bh_base[KEYBOARD_BH].routine = kbd_bh;
request_irq(KEYBOARD_IRQ, keyboard_interrupt, 0, "keyboard", NULL);
request_region(0x60,16,"kbd");
#ifdef INIT_KBD
initialize_kbd();
#endif
+ init_bh(KEYBOARD_BH, kbd_bh);
mark_bh(KEYBOARD_BH);
- enable_bh(KEYBOARD_BH);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this