diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2006-10-10 23:20:31 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-10-14 07:58:38 +0200 |
commit | 7af8b66004fa827958b4871112e59a07db5b3f6b (patch) | |
tree | 4f349b35f8f0f705bf6aa0d9174fd774d2b13c61 /drivers/acpi/processor_idle.c | |
parent | ACPI: update comments in motherboard.c (diff) | |
download | linux-7af8b66004fa827958b4871112e59a07db5b3f6b.tar.xz linux-7af8b66004fa827958b4871112e59a07db5b3f6b.zip |
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>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { .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; |