James Bottomley napsal(a):
could we not at least make the machinery do something vaguely
useful and expand it to confine the pm routines to sections which can be
discarded if CONFIG_PM is n?
a) it would need to be discarded at link-time, ideally.
Yes, the same way the exit sections are: as linker discards. We also
have the mechanics for runtime discards which is useful for modules
No it doesn't, exits are discarded at runtime only. At least on x86.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html