lkml.org 
[lkml]   [2004]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] Driver Core update for 2.6.6-rc1
Date
From
ChangeSet 1.1643.36.3, 2004/03/19 13:12:46-08:00, greg@kroah.com

VC: fix bug in vty_init() where vcs_init() was not called early enough.

It was being used before initialized, not nice :(


drivers/char/vt.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)


diff -Nru a/drivers/char/vt.c b/drivers/char/vt.c
--- a/drivers/char/vt.c Thu Apr 15 10:21:17 2004
+++ b/drivers/char/vt.c Thu Apr 15 10:21:17 2004
@@ -2602,6 +2602,8 @@

int __init vty_init(void)
{
+ vcs_init();
+
console_driver = alloc_tty_driver(MAX_NR_CONSOLES);
if (!console_driver)
panic("Couldn't allocate console driver\n");
@@ -2629,7 +2631,6 @@
#ifdef CONFIG_FRAMEBUFFER_CONSOLE
fb_console_init();
#endif
- vcs_init();
return 0;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.058 / U:2.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site