/* Takes the console sem and the called methods then take the tty termios_mutex and the tty ctrl_lock in that order.  */
static int vt_resize(struct tty_struct *tty, struct winsize *ws)
/* Takes the console sem and the called methods then take the tty termios_mutex and the tty ctrl_lock in that order.  */
static int vt_resize(struct tty_struct *tty, struct winsize *ws)
{
	struct vc_data *vc = tty->driver_data;
	int ret;
	acquire_console_sem();
	ret = vc_do_resize(tty, vc, ws->ws_col, ws->ws_row);
	release_console_sem();
	return ret;
}