arch/ppc/kernel/setup.c::screen_info
Tom Rini
trini at kernel.crashing.org
Sat Jan 26 02:44:48 EST 2002
Hey all. Currently in the linuxppc_2_4 tree, we conditionally compile
the screen_info struct on CONFIG_VGA_CONSOLE (and export the symbol
based on that too). In linuxppc_2_4_devel, Geert checked in vga16fb
fixes 2 months ago or so that added tests for CONFIG_FB_VGA16{,_MODULE}.
And just recently Hollis Blanchard posted a patch to add vesafb to this
list as well. So now the question is, shouldn't we just blindly
allocate this struct and always export the screen_info symbol? This
makes the most sense IMHO, since the point of modules is that you can
add things on later without having to recompile. But if people are
concerned about the extra space, perhaps we should do it based on
CONFIG_FB (I don't believe VGA_CONSOLE actually needs the symbol to be
exported, since it's a bool). Comments?
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list