]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ACPI: fix section for CPU init functions
authorPierre Ossman <drzeus@drzeus.cx>
Tue, 10 Oct 2006 21:20:31 +0000 (14:20 -0700)
committerLen Brown <len.brown@intel.com>
Sat, 14 Oct 2006 05:58:38 +0000 (01:58 -0400)
The ACPI processor init functions should be marked as __cpuinit as they use
structures marked with __cpuinitdata.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_core.c
drivers/acpi/processor_idle.c

index b13d64415b7ab651fc42be5b13351427d9dad6a3..1908e0d202226a47b0f839439a84f599d91649b1 100644 (file)
@@ -519,7 +519,7 @@ static int acpi_processor_get_info(struct acpi_processor *pr)
 
 static void *processor_device_array[NR_CPUS];
 
-static int acpi_processor_start(struct acpi_device *device)
+static int __cpuinit acpi_processor_start(struct acpi_device *device)
 {
        int result = 0;
        acpi_status status = AE_OK;
index 0a395fca843b46686b748ffe1583515cc863e9af..8537c429a02e9f2a9e7e4341ca0ba466edf635c6 100644 (file)
@@ -1105,7 +1105,7 @@ static struct notifier_block acpi_processor_latency_notifier = {
        .notifier_call = acpi_processor_latency_notify,
 };
 
-int acpi_processor_power_init(struct acpi_processor *pr,
+int __cpuinit acpi_processor_power_init(struct acpi_processor *pr,
                              struct acpi_device *device)
 {
        acpi_status status = 0;