Re: [2.1.121-1] Undefined reference to 'initmem_freed' in fbcon.c

John Kennedy (jk@csuchico.edu)
Thu, 10 Sep 1998 10:01:08 -0700 (PWT)


[Benjamin Redelings]
> drivers/video/video.a(fbdev.o): In function `fbcon_setup':
> fbdev.o(.text+0x222): undefined reference to `initmem_freed'
>
> The symbol 'initmem_freed' was removed from fs/filesystems.c in the
> cleanup, but was not moved to init/main.c with the other stuff.

I just used this patch against the final 2.1.121. Seems to work so far.
I can't test it against my fbcon box because of other APM issues with .121.

--- john
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--- ./drivers/video/fbcon.c.OLD Wed Sep 9 13:59:30 1998
+++ ./drivers/video/fbcon.c Thu Sep 10 06:22:48 1998
@@ -391,6 +391,8 @@

#define fontwidthvalid(p,w) ((p)->dispsw->fontwidthmask & FONTWIDTH(w))

+int initmem_freed = 1;
+
static void fbcon_setup(int con, int init, int logo)
{
struct display *p = &fb_display[con];
@@ -399,7 +401,6 @@
int old_rows, old_cols;
unsigned short *save = NULL, *r, *q;
/* Only if not module */
- int initmem_freed = 1;
struct fbcon_font_desc *font;
if (con != fg_console || initmem_freed || p->type == FB_TYPE_TEXT)
logo = 0;

-
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