lkml.org 
[lkml]   [2007]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [draft] Blackfin Early Printk implmentation
On 8/17/07, Robin Getz <rgetz@blackfin.uclinux.org> wrote:
> On Fri 17 Aug 2007 13:57, Mike Frysinger pondered:
> > On 8/17/07, Robin Getz <rgetz@blackfin.uclinux.org> wrote:
> > > +int __init disable_early_printk(void)
> > > +{
> > > + if (!early_console_initialized)
> > > + return 0;
> > > +
> > > + printk(KERN_INFO "Unregister %s%d\n",
> early_console_initialized->name,
> > > + early_console_initialized->index);
> > > + unregister_console(early_console_initialized);
> > > + early_console_initialized = NULL;
> > > + return 0;
> > > +}
> > > +
> > > +late_initcall(disable_early_printk);
> >
> > i think we agreed this would be OK/good to have in common code
>
> I didn't hear back from Gerd - and in the past this was implemented in the
> arch/*/kernel/early_printk.c - so this is where I put it....

i think his response was "if you do it and he likes the code he'll say yes" :)
-mike
-
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: 2007-08-17 20:45    [W:0.830 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site