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

> 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.

You can also use the fb_registered_client static I added and rename
it to fbcon_initialized ;) Dunno if we actually _need_ the second call
to take_over_console at this point, so i left it called twice, but
I needed the static to protect against registering the notifier twice

(That was what was causing the notifier list to get corrupted and
mode changes to lockup in early implementations)

Ben.


-
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.038 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site