[lkml]   [2012]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 4/5, resend] acpi_pm: adjust PCI quirk handler section annotations
This is in preparation to adjust modpost to check section mismatches
on most of the .pci_fixup* sections:

.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

Handler (and eventual static data) section annotations need to/can be
changed accordingly.

Signed-off-by: Jan Beulich <>
Cc: H. Peter Anvin <>
Cc: Ingo Molnar <>
Cc: Thomas Gleixner <>

drivers/clocksource/acpi_pm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- 3.4-rc6/drivers/clocksource/acpi_pm.c
+++ 3.4-rc6-pci-fixup-sections/drivers/clocksource/acpi_pm.c
@@ -73,7 +73,7 @@ static struct clocksource clocksource_ac

-static int __devinitdata acpi_pm_good;
+static int acpi_pm_good;
static int __init acpi_pm_good_setup(char *__str)
acpi_pm_good = 1;
@@ -102,7 +102,7 @@ static inline void acpi_pm_need_workarou
* incorrect when read). As a result, the ACPI free running count up
* timer specification is violated due to erroneous reads.
-static void __devinit acpi_pm_check_blacklist(struct pci_dev *dev)
+static void acpi_pm_check_blacklist(struct pci_dev *dev)
if (acpi_pm_good)
@@ -120,7 +120,7 @@ static void __devinit acpi_pm_check_blac

-static void __devinit acpi_pm_check_graylist(struct pci_dev *dev)
+static void acpi_pm_check_graylist(struct pci_dev *dev)
if (acpi_pm_good)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2012-05-09 11:41    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean