X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fkbd_kern.h;h=4eb851ece080d0682f4ada0b9fe24aad22c3cd19;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=7428198111eb1c1e914b38d21f1f6ee1a64e44db;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/include/linux/kbd_kern.h b/include/linux/kbd_kern.h index 742819811..4eb851ece 100644 --- a/include/linux/kbd_kern.h +++ b/include/linux/kbd_kern.h @@ -135,6 +135,8 @@ 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; @@ -151,7 +153,14 @@ extern unsigned int keymap_count; static inline void con_schedule_flip(struct tty_struct *t) { - schedule_work(&t->flip.work); + unsigned long flags; + spin_lock_irqsave(&t->buf.lock, flags); + 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); } #endif