From: Thomas Schlichter <schlicht@uni-mannheim.de>
To: Stefano Rivoir <s.rivoir@gts.it>, Andrew Morton <akpm@digeo.com>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: 2.5.70-mm8
Date: Wed, 11 Jun 2003 11:31:42 +0200 [thread overview]
Message-ID: <200306111131.43023.schlicht@uni-mannheim.de> (raw)
In-Reply-To: <3EE6F3B7.9040809@gts.it>
[-- Attachment #1.1: Type: text/plain, Size: 602 bytes --]
Hi!
Stefano Rivoir wrote:
> Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.70/2.5.
> >70-mm8/
>
> arch/i386/kernel/setup.c: In function 'setup_early_printk':
> arch/i386/kernel/setup.c:919: error: invalid lvalue in unary '&'
> make[1]: *** [arch/i386/kernel/setup.o] Error 1
>
> Bye
I had the same problem, it occours when the kernel is compiled without SMP
support and EARLY_PRINTK is not explicitly disabled in the 'Kernel hacking'
config-section.
The attached patch helps me with this error...
Best regards
Thomas Schlichter
[-- Attachment #1.2: early_printk_fix.diff --]
[-- Type: text/x-diff, Size: 660 bytes --]
--- linux-2.5.70-mm8/arch/i386/kernel/setup.c.orig Wed Jun 11 11:10:35 2003
+++ linux-2.5.70-mm8/arch/i386/kernel/setup.c Wed Jun 11 11:11:36 2003
@@ -910,6 +910,7 @@
extern int __init serial8250_console_init(void);
void setup_early_printk(void)
{
+#ifdef CONFIG_SMP
/*
* printk currently checks cpu_online_map to make sure that
* we don't try to printk from a CPU which hasn't had resources
@@ -917,6 +918,7 @@
* enable here don't require per-cpu resources.
*/
set_bit(smp_processor_id(), &cpu_online_map);
+#endif
#ifdef CONFIG_DEBUG_EP_SERIAL
console_setup(CONFIG_DEBUG_SERIAL_OPTIONS);
serial8250_console_init();
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-06-11 9:18 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-11 8:33 2.5.70-mm8 Andrew Morton
2003-06-11 8:33 ` 2.5.70-mm8 Andrew Morton
2003-06-11 9:17 ` 2.5.70-mm8 Stefano Rivoir
2003-06-11 9:17 ` 2.5.70-mm8 Stefano Rivoir
2003-06-11 9:27 ` 2.5.70-mm8 Andrew Morton
2003-06-11 9:27 ` 2.5.70-mm8 Andrew Morton
2003-06-11 9:31 ` Thomas Schlichter [this message]
2003-06-11 10:13 ` [PATCH] Compile fix for 2.5.70-mm8/drivers/usb/media/vicam.c Thomas Schlichter
2003-06-11 11:08 ` 2.5.70-mm8 - RAID1 and fb works! Helge Hafting
2003-06-11 11:08 ` Helge Hafting
2003-06-11 15:57 ` Helge Hafting
2003-06-11 15:57 ` Helge Hafting
2003-06-11 11:56 ` [2.5.70-mm8] NETDEV WATCHDOG: eth0: transmit timed out Thomas Schlichter
2003-06-11 13:16 ` Thomas Schlichter
2003-06-11 15:25 ` Thomas Schlichter
2003-06-11 18:56 ` Andrew Morton
2003-06-11 18:56 ` Andrew Morton
2003-06-12 11:59 ` Thomas Schlichter
2003-06-12 5:20 ` 2.5.70-mm8 Jordan Breeding
2003-06-12 5:20 ` 2.5.70-mm8 Jordan Breeding
2003-06-12 5:31 ` 2.5.70-mm8 Andrew Morton
2003-06-12 5:31 ` 2.5.70-mm8 Andrew Morton
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=200306111131.43023.schlicht@uni-mannheim.de \
--to=schlicht@uni-mannheim.de \
--cc=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=s.rivoir@gts.it \
/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.