diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-08-11 08:19:09 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-08-11 08:19:09 -0400 |
| commit | 89034bc2c7b839702c00a704e79d112737f98be0 (patch) | |
| tree | e65b1f3d4c751baa840efc81bc4734f089379eb3 /drivers/char/tty_buffer.c | |
| parent | fb82ad719831db58e9baa4c67015aae3fe27e7e3 (diff) | |
| parent | 85dfd81dc57e8183a277ddd7a56aa65c96f3f487 (diff) | |
Merge branch 'linus' into tracing/core
Conflicts:
kernel/trace/trace_events_filter.c
We use the tracing/core version.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/char/tty_buffer.c')
| -rw-r--r-- | drivers/char/tty_buffer.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/char/tty_buffer.c b/drivers/char/tty_buffer.c index 810ee25d66a4..3108991c5c8b 100644 --- a/drivers/char/tty_buffer.c +++ b/drivers/char/tty_buffer.c | |||
| @@ -462,6 +462,19 @@ static void flush_to_ldisc(struct work_struct *work) | |||
| 462 | } | 462 | } |
| 463 | 463 | ||
| 464 | /** | 464 | /** |
| 465 | * tty_flush_to_ldisc | ||
| 466 | * @tty: tty to push | ||
| 467 | * | ||
| 468 | * Push the terminal flip buffers to the line discipline. | ||
| 469 | * | ||
| 470 | * Must not be called from IRQ context. | ||
| 471 | */ | ||
| 472 | void tty_flush_to_ldisc(struct tty_struct *tty) | ||
| 473 | { | ||
| 474 | flush_to_ldisc(&tty->buf.work.work); | ||
| 475 | } | ||
| 476 | |||
| 477 | /** | ||
| 465 | * tty_flip_buffer_push - terminal | 478 | * tty_flip_buffer_push - terminal |
| 466 | * @tty: tty to push | 479 | * @tty: tty to push |
| 467 | * | 480 | * |
