X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fkbd_kern.h;h=06c58c423fe17668987839f71695c8bf64983a49;hb=c9cc8e771cb62e495765793e4b7d06016ae1b525;hp=4eb851ece080d0682f4ada0b9fe24aad22c3cd19;hpb=76467874b83835129dc454e3a7a8e5d1186101b0;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/kbd_kern.h b/include/linux/kbd_kern.h index 4eb851ece08..06c58c423fe 100644 --- a/include/linux/kbd_kern.h +++ b/include/linux/kbd_kern.h @@ -155,12 +155,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) { - 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); + schedule_delayed_work(&t->buf.work, 0); } #endif