Hendrik Brueckner febde37119 hvc_console: Add support for tty window resizing
The patch provides the hvc_resize() function to update the terminal
window dimensions (struct winsize) for a specified hvc console.
The function stores the new window size and schedules a function
that finally updates the tty winsize and signals the change to
user space (SIGWINCH).
Because the winsize update must acquire a mutex and might sleep,
the function is scheduled instead of being called from hvc_poll()
or khvcd.

This patch uses the tty_do_resize() routine from the tty layer.
A pending resize work is canceled in hvc_close() and hvc_hangup().

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-10-22 11:00:25 +11:00
..
2008-10-15 11:31:54 +11:00
2008-10-20 08:52:40 -07:00
2008-10-17 14:41:09 -07:00
2008-10-21 15:52:04 +11:00
2008-08-26 00:19:28 +10:00
2008-10-16 11:21:38 -07:00
2008-10-20 08:52:34 -07:00
2008-10-20 09:03:12 -07:00
2008-10-21 15:52:04 +11:00
2008-10-16 11:21:30 -07:00
2008-10-21 15:49:55 +11:00
2008-10-16 11:21:49 -07:00
2008-09-03 15:55:32 -07:00
2008-10-20 08:52:36 -07:00
2008-10-20 11:32:09 -07:00