lkml.org 
[lkml]   [2004]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] allow console drivers to be called early
Jesse Barnes <jbarnes@engr.sgi.com> wrote:
>
> This is a simple patch to allow arches to set early_printk_ok if they've
> registered console drivers that support early operation. I've got an ia64
> specific bit and an sn2 specific bit that I can post for reference if
> anyone's interested, but they're pretty straightforward, so I'm just posting
> this for comments. The ia64 one just adds a register_early_consoles()
> function to the ia64 code that gets called early on in setup_arch. All it
> does is call the init routines of console drivers that are setup to do early
> printks.
>
> ...
> * console_sem protects the console_drivers list, and also
> @@ -526,7 +527,7 @@
> log_level_unknown = 1;
> }
>
> - 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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.041 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site