MODPOST section mismatches

Josh Boyer jwboyer at
Sat Feb 23 11:30:25 EST 2008

On Fri, 22 Feb 2008 18:07:37 -0500
Steve Heflin <sheflin at> wrote:

> At 05:36 PM 2/22/2008, you wrote:
> >On Fri, 22 Feb 2008 17:26:52 -0500
> >Steve Heflin <sheflin at> wrote:
> >
> > > FLAT_MEM is one of the configuration options:
> >
> >That has to do with NUMA stuff.  It really doesn't have much bearing on
> >the section warnings.
> ah, thanks for setting me straight. I thought it meant that 
> everything existed in a flat address space and existed in memory at 
> the same time, and therefore the different section warnings might not apply. 

Nah.  The section warnings come about because if something is marked
__init but referenced in a function that isn't then an oops could occur
because the __init sections are discarded after a certain point in the
kernel boot.  The same is true for __devinit, etc.

So the section warnings are still bugs that need fixing, but they're
orthogonal to the memory model for the most part.


More information about the Linuxppc-embedded mailing list