X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fkbd_kern.h;h=efe0ee4cc80baee508567f08c72b3f7d03277e43;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=4eb851ece080d0682f4ada0b9fe24aad22c3cd19;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/include/linux/kbd_kern.h b/include/linux/kbd_kern.h index 4eb851ece..efe0ee4cc 100644 --- a/include/linux/kbd_kern.h +++ b/include/linux/kbd_kern.h @@ -155,10 +155,8 @@ 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) { - t->buf.tail->active = 0; + if (t->buf.tail != NULL) t->buf.tail->commit = t->buf.tail->used; - } spin_unlock_irqrestore(&t->buf.lock, flags); schedule_work(&t->buf.work); }