All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: linux-kernel@vger.kernel.org
Subject: undefined reference to `console_list'
Date: Tue, 16 Dec 2003 14:41:31 +0100	[thread overview]
Message-ID: <20031216134131.GA1657@simek> (raw)

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

                 reply	other threads:[~2003-12-16 13:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031216134131.GA1657@simek \
    --to=ladis@linux-mips.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.