diff options
author | Thomas Renninger <trenn@suse.de> | 2009-10-26 17:44:18 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-16 20:21:51 +0100 |
commit | bf8b4542f92c4d8222941b1cab055fa350ab2fb4 (patch) | |
tree | 4810e901a4cacfe760954924f68de3976c9353ac /drivers/platform | |
parent | ACPI: fix for lapic_timer_propagate_broadcast() (diff) | |
download | linux-bf8b4542f92c4d8222941b1cab055fa350ab2fb4.tar.xz linux-bf8b4542f92c4d8222941b1cab055fa350ab2fb4.zip |
ACPI processor: Fix section mismatch for processor_add()
Due to the merge of processor_start() (declared with __cpuinit) into
processor_add(), a section mismatch warning appears:
WARNING: drivers/built-in.o(.text+0x4d59d): Section mismatch in reference
from the function acpi_processor_add() to the function
.cpuinit.text:acpi_processor_power_init()
...
This patch fixes the warning by declaring processor_add() as __cpuinit
and also declares acpi_processor_add_fs() as __cpuinit as it is only
used in acpi_processor_add().
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions