mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@engr.sgi.com>
To: linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] allow console drivers to be called early
Date: Thu, 13 May 2004 20:16:18 -0700	[thread overview]
Message-ID: <200405132016.18570.jbarnes@engr.sgi.com> (raw)
In-Reply-To: <20040513194408.0e6ba433.akpm@osdl.org>

On Thursday, May 13, 2004 7:44 pm, Andrew Morton wrote:
> >  -	if (!cpu_online(smp_processor_id()) &&
> >  +	if (!early_printk_ok && !cpu_online(smp_processor_id()) &&
>
> Is it not possible to mark this cpu as being online?   It sure seems to be.

But then we miss out on all the good stuff happening in setup_arch since 
smp_processor_id() isn't set in cpu_online_map until smp_prepare_boot_cpu.  I 
can try upping it in arch code, but iirc, I had problems with that in older 
kernels due to the expectations of some of the other CPU upping code.  I'll 
give it a try again and either give you a good answer or send a more 
appropriate patch to David.

Thanks,
Jesse

      reply	other threads:[~2004-05-14  3:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-13 22:47 Jesse Barnes
2004-05-14  2:44 ` Andrew Morton
2004-05-14  3:16   ` Jesse Barnes [this message]

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=200405132016.18570.jbarnes@engr.sgi.com \
    --to=jbarnes@engr.sgi.com \
    --cc=akpm@osdl.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®