lkml.org 
[lkml]   [2004]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Double fb_console_init call during do_initcalls

> Ugh. fb_console_init() can be called by
> drivers/char/vt.c (one initcall) or drivers/video/fbmem.c or
> drivers/video/console/fbcon.c (<-- module_init/initcall).
>
> It definitely wants to be cleaned up, but changing initcall
> order can be "fragile". Have you tried/tested it?
>
> Or maybe James Simmons has some updates for this.

I seen the report and begain to create a patch. The module_init fix is
easy. Just place module_init and module_exit under #ifdef MODULE. I
realize alot of fbdev drivers do this wrong. I will make patches by the
end of the day. As for the fbmem.c call on fb_console_init. Well that is
tricker to deal with. I will have to figure out a way.


-
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:01    [W:0.062 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site