patch-2.4.10 linux/include/linux/kbd_kern.h
Next file: linux/include/linux/kernel.h
Previous file: linux/include/linux/jffs2_fs_sb.h
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Sun Sep 23 10:32:38 2001
- Orig file:
v2.4.9/linux/include/linux/kbd_kern.h
- Orig date:
Sun Aug 12 13:28:01 2001
diff -u --recursive --new-file v2.4.9/linux/include/linux/kbd_kern.h linux/include/linux/kbd_kern.h
@@ -69,23 +69,12 @@
extern unsigned char getledstate(void);
extern void setledstate(struct kbd_struct *kbd, unsigned int led);
-extern struct tasklet_struct console_tasklet;
-
extern int do_poke_blanked_console;
extern void (*kbd_ledfunc)(unsigned int led);
-static inline void show_console(void)
-{
- do_poke_blanked_console = 1;
- tasklet_schedule(&console_tasklet);
-}
-
-static inline void set_console(int nr)
-{
- want_console = nr;
- tasklet_schedule(&console_tasklet);
-}
+extern void set_console(int nr);
+extern void schedule_console_callback(void);
static inline void set_leds(void)
{
@@ -159,12 +148,9 @@
/* console.c */
-extern task_queue con_task_queue;
-
static inline void con_schedule_flip(struct tty_struct *t)
{
- queue_task(&t->flip.tqueue, &con_task_queue);
- tasklet_schedule(&console_tasklet);
+ schedule_task(&t->flip.tqueue);
}
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)