Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325587
b: refs/heads/master
c: 4c2ef53
h: refs/heads/master
i:
  325585: 63cddec
  325583: 7a2e34a
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Jun 14, 2012
1 parent 702f73a commit 2506398
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d03702a27df017d1807fd4809f03adaa8e37005f
refs/heads/master: 4c2ef53d3bfb36659c47ba589f35bcab24f425c7
6 changes: 3 additions & 3 deletions trunk/drivers/tty/vt/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ static void put_queue(struct vc_data *vc, int ch)

if (tty) {
tty_insert_flip_char(tty, ch, 0);
con_schedule_flip(tty);
tty_schedule_flip(tty);
}
}

Expand All @@ -325,7 +325,7 @@ static void puts_queue(struct vc_data *vc, char *cp)
tty_insert_flip_char(tty, *cp, 0);
cp++;
}
con_schedule_flip(tty);
tty_schedule_flip(tty);
}

static void applkey(struct vc_data *vc, int key, char mode)
Expand Down Expand Up @@ -586,7 +586,7 @@ static void fn_send_intr(struct vc_data *vc)
if (!tty)
return;
tty_insert_flip_char(tty, 0, TTY_BREAK);
con_schedule_flip(tty);
tty_schedule_flip(tty);
}

static void fn_scroll_forw(struct vc_data *vc)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/tty/vt/vt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ static void respond_string(const char *p, struct tty_struct *tty)
tty_insert_flip_char(tty, *p, 0);
p++;
}
con_schedule_flip(tty);
tty_schedule_flip(tty);
}

static void cursor_report(struct vc_data *vc, struct tty_struct *tty)
Expand Down
12 changes: 0 additions & 12 deletions trunk/include/linux/kbd_kern.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,4 @@ void compute_shiftstate(void);

extern unsigned int keymap_count;

/* console.c */

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->commit = t->buf.tail->used;
spin_unlock_irqrestore(&t->buf.lock, flags);
schedule_work(&t->buf.work);
}

#endif

0 comments on commit 2506398

Please sign in to comment.