diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2006-10-10 17:20:31 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-10-14 01:58:38 -0400 |
commit | 7af8b66004fa827958b4871112e59a07db5b3f6b (patch) | |
tree | 4f349b35f8f0f705bf6aa0d9174fd774d2b13c61 | |
parent | f4d2e2d87eac0338884b2c26f6bafed115dbac5e (diff) |
ACPI: fix section for CPU init functions
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>
-rw-r--r-- | drivers/acpi/processor_core.c | 2 | ||||
-rw-r--r-- | drivers/acpi/processor_idle.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index b13d64415b7a..1908e0d20222 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
@@ -519,7 +519,7 @@ static int acpi_processor_get_info(struct acpi_processor *pr) | |||
519 | 519 | ||
520 | static void *processor_device_array[NR_CPUS]; | 520 | static void *processor_device_array[NR_CPUS]; |
521 | 521 | ||
522 | static int acpi_processor_start(struct acpi_device *device) | 522 | static int __cpuinit acpi_processor_start(struct acpi_device *device) |
523 | { | 523 | { |
524 | int result = 0; | 524 | int result = 0; |
525 | acpi_status status = AE_OK; | 525 | acpi_status status = AE_OK; |
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 0a395fca843b..8537c429a02e 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -1105,7 +1105,7 @@ static struct notifier_block acpi_processor_latency_notifier = { | |||
1105 | .notifier_call = acpi_processor_latency_notify, | 1105 | .notifier_call = acpi_processor_latency_notify, |
1106 | }; | 1106 | }; |
1107 | 1107 | ||
1108 | int acpi_processor_power_init(struct acpi_processor *pr, | 1108 | int __cpuinit acpi_processor_power_init(struct acpi_processor *pr, |
1109 | struct acpi_device *device) | 1109 | struct acpi_device *device) |
1110 | { | 1110 | { |
1111 | acpi_status status = 0; | 1111 | acpi_status status = 0; |