Skip to content

Commit

Permalink
ACPI: fix section for CPU init functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pierre Ossman authored and Len Brown committed Oct 14, 2006
1 parent f4d2e2d commit 7af8b66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/acpi/processor_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7af8b66

Please sign in to comment.