Commit 533c8b27 authored by James Simmons's avatar James Simmons Committed by Linus Torvalds

[PATCH] Console font size fix

The font size needs to be set for all terminals.

This was the bug that was causing dual head (vga and mda) to lock up.
parent 81f8d5bc
......@@ -869,13 +869,13 @@ int vt_ioctl(struct tty_struct *tty, struct file * file,
if (clin > 32)
return -EINVAL;
if (vlin)
vc->vc_scan_lines = vlin;
if (clin)
vc->vc_font.height = clin;
for (i = 0; i < MAX_NR_CONSOLES; i++)
for (i = 0; i < MAX_NR_CONSOLES; i++) {
if (vlin)
vc_cons[i].d->vc_scan_lines = vlin;
if (clin)
vc_cons[i].d->vc_font.height = clin;
vc_resize(i, cc, ll);
}
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment