git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
linux
/
kbd_kern.h
diff --git
a/include/linux/kbd_kern.h
b/include/linux/kbd_kern.h
index
7428198
..
4eb851e
100644
(file)
--- 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 U(x) ((x) ^ 0xf000)
+#define BRL_UC_ROW 0x2800
+
/* keyboard.c */
struct console;
/* keyboard.c */
struct console;
@@
-151,7
+153,14
@@
extern unsigned int keymap_count;
static inline void con_schedule_flip(struct tty_struct *t)
{
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
}
#endif