linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.73 doesn't build without CONFIG_VT_CONSOLE
@ 2003-07-01 19:52 Peter Cordes
  2003-07-01 21:31 ` James Simmons
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Cordes @ 2003-07-01 19:52 UTC (permalink / raw)
  To: linux-kernel


 In 2.5.73, vty_init() in drivers/char/vt.c uses console_driver, but that
variable is declared only inside an ifdef CONFIG_VT_CONSOLE.  The kernel
doesn't build without that config option.

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter@llama.nslug.n , s.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BC

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.5.73 doesn't build without CONFIG_VT_CONSOLE
  2003-07-01 19:52 2.5.73 doesn't build without CONFIG_VT_CONSOLE Peter Cordes
@ 2003-07-01 21:31 ` James Simmons
  0 siblings, 0 replies; 2+ messages in thread
From: James Simmons @ 2003-07-01 21:31 UTC (permalink / raw)
  To: Peter Cordes; +Cc: linux-kernel


Try this patch.

--- vt.c	Tue Jul  1 14:19:07 2003
+++ vt.c.new	Tue Jul  1 14:03:17 2003
@@ -109,7 +109,7 @@
 
 #include "console_macros.h"
 
-
+struct tty_driver *console_driver;
 const struct consw *conswitchp;
 
 /* A bitmap for codes <32. A bit of 1 indicates that the code
@@ -2185,8 +2185,6 @@
 quit:
 	clear_bit(0, &printing);
 }
-
-struct tty_driver *console_driver;
 
 static struct tty_driver *vt_console_device(struct console *c, int *index)
 {



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-01 21:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-01 19:52 2.5.73 doesn't build without CONFIG_VT_CONSOLE Peter Cordes
2003-07-01 21:31 ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).