From: BitKeeper B. <ri...@su...> - 2005-02-25 15:08:57
|
ChangeSet 1.1745, 2005/02/24 11:09:14+00:00, ka...@sc... Fix console_use_vt feature that makes VT switchable at run time in Linux. Signed-off-by: Keir Fraser <kei...@cl...> tty_io.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/linux-2.6.10-xen-sparse/drivers/char/tty_io.c b/linux-2.6.10-xen-sparse/drivers/char/tty_io.c --- a/linux-2.6.10-xen-sparse/drivers/char/tty_io.c 2005-02-24 07:02:42 -05:00 +++ b/linux-2.6.10-xen-sparse/drivers/char/tty_io.c 2005-02-24 07:02:42 -05:00 @@ -1772,7 +1772,7 @@ goto got_driver; } #ifdef CONFIG_VT - if (device == MKDEV(TTY_MAJOR,0)) { + if (console_use_vt && (device == MKDEV(TTY_MAJOR,0))) { extern int fg_console; extern struct tty_driver *console_driver; driver = console_driver; |