* [PATCH] [ACPI] Fix section for CPU init functions
@ 2006-07-12 9:09 Pierre Ossman
0 siblings, 0 replies; 2+ messages in thread
From: Pierre Ossman @ 2006-07-12 9:09 UTC (permalink / raw
To: linux-acpi; +Cc: Pierre Ossman, linux-kernel
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>
---
0 files changed, 0 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] [ACPI] Fix section for CPU init functions
@ 2006-07-12 9:09 Pierre Ossman
0 siblings, 0 replies; 2+ messages in thread
From: Pierre Ossman @ 2006-07-12 9:09 UTC (permalink / raw
To: linux-acpi; +Cc: Pierre Ossman, linux-kernel
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>
---
drivers/acpi/processor_core.c | 2 +-
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 b13d644..1908e0d 100644
--- a/drivers/acpi/processor_core.c
+++ b/drivers/acpi/processor_core.c
@@ -519,7 +519,7 @@ #endif
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;
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 7106606..1ecd3a7 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -1077,7 +1077,7 @@ static const struct file_operations acpi
.release = single_release,
};
-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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-12 9:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12 9:09 [PATCH] [ACPI] Fix section for CPU init functions Pierre Ossman
-- strict thread matches above, loose matches on Subject: below --
2006-07-12 9:09 Pierre Ossman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).