linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / include / linux / kbd_kern.h
index efe0ee4..e87c32a 100644 (file)
@@ -135,8 +135,6 @@ static inline void chg_vc_kbd_led(struct kbd_struct * kbd, int flag)
 
 #define U(x) ((x) ^ 0xf000)
 
-#define BRL_UC_ROW 0x2800
-
 /* keyboard.c */
 
 struct console;
@@ -155,8 +153,10 @@ static inline void con_schedule_flip(struct tty_struct *t)
 {
        unsigned long flags;
        spin_lock_irqsave(&t->buf.lock, flags);
-       if (t->buf.tail != NULL)
+       if (t->buf.tail != NULL) {
+               t->buf.tail->active = 0;
                t->buf.tail->commit = t->buf.tail->used;
+       }
        spin_unlock_irqrestore(&t->buf.lock, flags);
        schedule_work(&t->buf.work);
 }