Messages in this thread | | | Date | Mon, 14 Jan 2008 16:05:53 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH x86] [15/16] Force __cpuinit on for CONFIG_PM without HOTPLUG_CPU |
| |
* Ingo Molnar <mingo@elte.hu> wrote:
> > Would be great to have them automated - just dunno how to do it. Do > > you see a feasible way to do it? > > a good starting point would be to make the warnings a lot more > self-explanatory. Right now it's often non-obvious trying to figure > out how the dependencies are structured and which one should be > changed to get rid of the bug.
also, in theory we've got a pretty reliable set of the following information:
function X references symbol Y
and we know what type of sections they are in, right?
could -ffunction-sections be used to delay the categorization of functions to the link stage, and in essence remove the need to mark functions via any of the __init markers?
Ingo
| |