Re: Section mismatches in drivers/video/console/promcon

From: David Miller
Date: Tue Jun 05 2007 - 02:53:16 EST


From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Sat, 2 Jun 2007 21:16:46 +0200

> >
> > promcon_init() can be called again from visual_init() during
> > vc_allocate(). So anything referenced by promcon_init() should not be
> > marked __init.
> >
> > Although, if you want to keep promfont_unitable and promfont_unicount
> > __init, you can probably use con_copy_unimap() using the default vc as
> > the source instead of doing a promcon_init_unimap() again.
>
> Too involved for me to look into.
> I cooked up following very minimal patch - if you agree can you then please
> forward/take care of it.
>
> Sam
>
> Subject: video: fix section mismatch warning in promcon

I'll merge this fix in via the Sparc tree since this is a sparc
console driver.

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