mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
f4d2e2d87e
commit
7af8b66004
|
@ -519,7 +519,7 @@ static int acpi_processor_get_info(struct acpi_processor *pr)
|
||||||
|
|
||||||
static void *processor_device_array[NR_CPUS];
|
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;
|
int result = 0;
|
||||||
acpi_status status = AE_OK;
|
acpi_status status = AE_OK;
|
||||||
|
|
|
@ -1105,7 +1105,7 @@ static struct notifier_block acpi_processor_latency_notifier = {
|
||||||
.notifier_call = acpi_processor_latency_notify,
|
.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)
|
struct acpi_device *device)
|
||||||
{
|
{
|
||||||
acpi_status status = 0;
|
acpi_status status = 0;
|
||||||
|
|
Loading…
Reference in New Issue