diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 07:35:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 20:30:53 -0400 |
commit | 4c2ef53d3bfb36659c47ba589f35bcab24f425c7 (patch) | |
tree | 04cc3b3e954958a16204d47277e47d88698443c8 /include/linux/kbd_kern.h | |
parent | d03702a27df017d1807fd4809f03adaa8e37005f (diff) |
TTY: vt, remove con_schedule_flip
This is identical to tty_schedule_flip. So let us use that instead.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/kbd_kern.h')
-rw-r--r-- | include/linux/kbd_kern.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/kbd_kern.h b/include/linux/kbd_kern.h index daf4a3a40ee0..af9137db3035 100644 --- a/include/linux/kbd_kern.h +++ b/include/linux/kbd_kern.h | |||
@@ -145,16 +145,4 @@ void compute_shiftstate(void); | |||
145 | 145 | ||
146 | extern unsigned int keymap_count; | 146 | extern unsigned int keymap_count; |
147 | 147 | ||
148 | /* console.c */ | ||
149 | |||
150 | static inline void con_schedule_flip(struct tty_struct *t) | ||
151 | { | ||
152 | unsigned long flags; | ||
153 | spin_lock_irqsave(&t->buf.lock, flags); | ||
154 | if (t->buf.tail != NULL) | ||
155 | t->buf.tail->commit = t->buf.tail->used; | ||
156 | spin_unlock_irqrestore(&t->buf.lock, flags); | ||
157 | schedule_work(&t->buf.work); | ||
158 | } | ||
159 | |||
160 | #endif | 148 | #endif |