patch-2.3.43 linux/include/linux/kbd_kern.h

Next file: linux/include/linux/linkage.h
Previous file: linux/include/linux/iso_fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/include/linux/kbd_kern.h linux/include/linux/kbd_kern.h
@@ -4,6 +4,8 @@
 #include <linux/interrupt.h>
 #include <linux/keyboard.h>
 
+extern struct tasklet_struct keyboard_tasklet;
+
 extern int shift_state;
 
 extern char *func_table[MAX_NR_FUNC];
@@ -85,7 +87,7 @@
 
 extern inline void set_leds(void)
 {
-	mark_bh(KEYBOARD_BH);
+	tasklet_schedule(&keyboard_tasklet);
 }
 
 extern inline int vc_kbd_mode(struct kbd_struct * kbd, int flag)

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