mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jarek Poplawski <jarkao2@o2.pl>
To: linux-kernel@vger.kernel.org, len.brown@intel.com
Subject: [PATCH] drivers/acpi/processor.o - Section mismatch Bug# 6992
Date: Tue, 12 Sep 2006 13:58:56 +0200	[thread overview]
Message-ID: <20060912115856.GA4211@ff.dom.local> (raw)

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,

                 reply	other threads:[~2006-09-12 11:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060912115856.GA4211@ff.dom.local \
    --to=jarkao2@o2.pl \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®