Boot logo patch

Red Hat Linux User (mremski@ix.netcom.com)
Sat, 12 Sep 1998 16:32:59 -0400


This is a multi-part message in MIME format.
--------------5EFE16311D1339205706115F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Based on Linus' last posting about init_memfreed and module, attached
patch makes the boot logo reappear. It takes advantage of "MODULE"
being defined at compile time for a module, otherwise not.
Works here, don't know if there are any other bad effects, use at own
risk.

m

--
Having Microsoft give us advice on open standards is like W.C. Fields
giving moral advice to the Mormon Tabernacle Choir
                       Scott McNealy, Sun Microsystems Inc.

--------------5EFE16311D1339205706115F Content-Type: text/plain; charset=us-ascii; name="fbcon.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fbcon.patch"

--- linux/drivers/video/fbcon.c~ Fri Sep 11 04:10:57 1998 +++ linux/drivers/video/fbcon.c Sat Sep 12 16:17:51 1998 @@ -399,7 +399,11 @@ int old_rows, old_cols; unsigned short *save = NULL, *r, *q; /* Only if not module */ +#if !defined(MODULE) + int initmem_freed = 0; +#else int initmem_freed = 1; +#endif struct fbcon_font_desc *font; if (con != fg_console || initmem_freed || p->type == FB_TYPE_TEXT) logo = 0;

--------------5EFE16311D1339205706115F--

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