At 07:30 PM 2/22/2008, you wrote: >On Fri, 22 Feb 2008 18:07:37 -0500 >Steve Heflin <[EMAIL PROTECTED]> wrote: > > > At 05:36 PM 2/22/2008, you wrote: > > >On Fri, 22 Feb 2008 17:26:52 -0500 > > >Steve Heflin <[EMAIL PROTECTED]> wrote: > > > > > > > FLAT_MEM is one of the configuration options: > > > > CONFIG_ARCH_FLATMEM_ENABLE=y > > > > > >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. > >josh
Isn't there a way to keep the __init sections from being discarded such that I can run it without an oops occurring? thanks for your help! Steve _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
