[PATCH 0/5, resend] move some .pci_fixup_* sections into .init

From: Jan Beulich
Date: Wed May 09 2012 - 05:01:21 EST

.pci_fixup_final is only used from .init.text, and hence can (along
with the respective handler functions) reside in .init.*.

Several other .pci_fixup_* sections are needed only during boot and
suspend/resume, and can therefore be moved into .init.* if

While generally section mismatch checking is being turned on by the
last patch for all of .pci_fixup_*, for .pci_fixup_header it is being
suppressed for the moment as it caused way too much fallout.
Theoretically all respective handlers must get their __init/__devinit
removed, as this gets processed from a non-__init, non-__devinit

The order in which the first four patches get applied doesn't matter,
as all patches in this series are fully independent. But of course
section mismatch warnings may result if the modpost change gets
applied ahead of any of the others.

Compared to the previous submission, the originally monolithic
patch was broken up, and things of course got adjusted as the
code touched here evolved.

1: PCI: adjust quirk handler section annotations
2: x86: adjust quirk handler section annotations
3: USB: adjust quirk handler section annotations
4: acpi_pm: adjust quirk handler section annotations
5: move some .pci_fixup_* sections into .init

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>
Cc: John Stultz <johnstul@xxxxxxxxxx>
Cc: Michal Marek <mmarek@xxxxxxx>
Cc: Sarah Sharp <sarah.a.sharp@xxxxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

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/