Re: [PATCH x86] [15/16] Force __cpuinit on for CONFIG_PM withoutHOTPLUG_CPU

From: Ingo Molnar
Date: Mon Jan 14 2008 - 10:06:28 EST



* Ingo Molnar <mingo@xxxxxxx> 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
--
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/