Re: [patch 01/12] acpi: fix section for CPU init functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Applied.

thanks,
-Len

On Tuesday 10 October 2006 17:20, akpm@xxxxxxxx wrote:
> From: Pierre Ossman <drzeus@xxxxxxxxx>
> 
> The ACPI processor init functions should be marked as __cpuinit as they use
> structures marked with __cpuinitdata.
> 
> Signed-off-by: Pierre Ossman <drzeus@xxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
> ---
> 
>  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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux