From: Len Brown <len.brown@intel.com>
To: akpm@osdl.org
Cc: linux-acpi@vger.kernel.org, drzeus@drzeus.cx
Subject: Re: [patch 01/12] acpi: fix section for CPU init functions
Date: Sat, 14 Oct 2006 04:07:28 -0400 [thread overview]
Message-ID: <200610140407.28793.len.brown@intel.com> (raw)
In-Reply-To: <200610102120.k9ALKVwM024266@shell0.pdx.osdl.net>
Applied.
thanks,
-Len
On Tuesday 10 October 2006 17:20, akpm@osdl.org wrote:
> From: Pierre Ossman <drzeus@drzeus.cx>
>
> 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>
> ---
>
> drivers/acpi/processor_core.c | 2 +-
> drivers/acpi/processor_idle.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff -puN drivers/acpi/processor_core.c~acpi-fix-section-for-cpu-init-functions drivers/acpi/processor_core.c
> --- a/drivers/acpi/processor_core.c~acpi-fix-section-for-cpu-init-functions
> +++ a/drivers/acpi/processor_core.c
> @@ -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 -puN drivers/acpi/processor_idle.c~acpi-fix-section-for-cpu-init-functions drivers/acpi/processor_idle.c
> --- a/drivers/acpi/processor_idle.c~acpi-fix-section-for-cpu-init-functions
> +++ a/drivers/acpi/processor_idle.c
> @@ -1130,7 +1130,7 @@ static struct notifier_block acpi_proces
> .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;
> _
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2006-10-14 8:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-10 21:20 [patch 01/12] acpi: fix section for CPU init functions akpm
2006-10-14 8:07 ` Len Brown [this message]
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=200610140407.28793.len.brown@intel.com \
--to=len.brown@intel.com \
--cc=akpm@osdl.org \
--cc=drzeus@drzeus.cx \
--cc=lenb@kernel.org \
--cc=linux-acpi@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.