Hello,
Maybe I miss why it takes so long to remove this warning
or maybe it's only the lack of time, so here is my proposal.
Jarek P.
diff -Nurp linux-2.6.18-rc6-git1-/drivers/acpi/processor_core.c linux-2.6.18-rc6-git1/drivers/acpi/processor_core.c
--- linux-2.6.18-rc6-git1-/drivers/acpi/processor_core.c 2006-09-12 00:01:00.000000000 +0200
+++ linux-2.6.18-rc6-git1/drivers/acpi/processor_core.c 2006-09-12 00:01:00.000000000 +0200
@@ -81,7 +81,7 @@ MODULE_DESCRIPTION(ACPI_PROCESSOR_DRIVER
MODULE_LICENSE("GPL");
static int acpi_processor_add(struct acpi_device *device);
-static int acpi_processor_start(struct acpi_device *device);
+static int __cpuinit acpi_processor_start(struct acpi_device *device);
static int acpi_processor_remove(struct acpi_device *device, int type);
static int acpi_processor_info_open_fs(struct inode *inode, struct file *file);
static void acpi_processor_notify(acpi_handle handle, u32 event, void *data);
@@ -519,7 +519,7 @@ static int acpi_processor_get_info(struc
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 -Nurp linux-2.6.18-rc6-git1-/drivers/acpi/processor_idle.c linux-2.6.18-rc6-git1/drivers/acpi/processor_idle.c
--- linux-2.6.18-rc6-git1-/drivers/acpi/processor_idle.c 2006-09-12 00:01:00.000000000 +0200
+++ linux-2.6.18-rc6-git1/drivers/acpi/processor_idle.c 2006-09-12 00:01:00.000000000 +0200
@@ -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;
diff -Nurp linux-2.6.18-rc6-git1-/include/acpi/processor.h linux-2.6.18-rc6-git1/include/acpi/processor.h
--- linux-2.6.18-rc6-git1-/include/acpi/processor.h 2006-09-12 00:01:00.000000000 +0200
+++ linux-2.6.18-rc6-git1/include/acpi/processor.h 2006-09-12 00:01:00.000000000 +0200
@@ -251,7 +251,7 @@ int acpi_processor_set_throttling(struct
extern struct file_operations acpi_processor_throttling_fops;
/* in processor_idle.c */
-int acpi_processor_power_init(struct acpi_processor *pr,
+int __cpuinit acpi_processor_power_init(struct acpi_processor *pr,
struct acpi_device *device);
int acpi_processor_cst_has_changed(struct acpi_processor *pr);
int acpi_processor_power_exit(struct acpi_processor *pr,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]