public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* undefined reference to `console_list'
@ 2003-12-16 13:41 Ladislav Michl
  0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2003-12-16 13:41 UTC (permalink / raw)
  To: linux-kernel

Hi,

patch-2.1.71 brought posibility to pass list of consoles on kernel
command line.
http://www.funet.fi/pub/Linux/PEOPLE/Linus/v2.1/patch-html/patch-2.1.71/linux_kernel_printk.c.html
http://www.funet.fi/pub/Linux/PEOPLE/Linus/v2.1/patch-html/patch-2.1.71/linux_include_linux_console.h.html

while kernel/printk.c defines
struct console_cmdline console_cmdline[MAX_CMDLINECONSOLES];
include/linux/console.h reads
extern struct console_cmdline console_list[MAX_CMDLINECONSOLES];

nothing needs fix below at the moment, but to finish MIPS merge it is
needed either export console_setup(char *) or use fix below and this patch
ftp://ftp.linux-mips.org/pub/linux/mips/people/ladis/ip22-setup.diff
but header should be fixed anyway.

--- linux-mips-2.4/include/linux/console.h.orig	2003-12-16 13:52:59.000000000 +0100
+++ linux-mips-2.4/include/linux/console.h	2003-12-16 13:53:10.000000000 +0100
@@ -80,7 +80,7 @@
 	char	*options;			/* Options for the driver   */
 };
 #define MAX_CMDLINECONSOLES 8
-extern struct console_cmdline console_list[MAX_CMDLINECONSOLES];
+extern struct console_cmdline console_cmdline[MAX_CMDLINECONSOLES];
 
 /*
  *	The interface for a console, or any other device that

regards,
	ladis

ps: please cc me, I'm not on the list

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-16 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-16 13:41 undefined reference to `console_list' Ladislav Michl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox