lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 16 Jan 2010 02:07:00 -0500 (EST)
From:	Len Brown <lenb@...nel.org>
To:	Marin Mitov <mitov@...p.bas.bg>
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Rusty Russell <rusty@...tycorp.com.au>,
	Srivatsa Vaddagiri <vatsa@...ibm.com>,
	Zwane Mwaikambo <zwane@....linux.org.uk>,
	Ashok Raj <ashok.raj@...el.com>, tony.luck@...el.com,
	Alex Chiang <achiang@...com>
Subject: Re: [PATCH] Section mismatch: acpi_early_processor_set_pdc()

I think tony's patch (in my tree) to change this to __init is correct.

thanks,
Len Brown, Intel Open Source Technology Center

On Wed, 13 Jan 2010, Marin Mitov wrote:

> Hi all,
> 
> kernel-2.6.33-rc4, compiler output:
> 
> WARNING: Section mismatch in reference from the function 
> acpi_early_processor_set_pdc() to the variable .cpuinit.data:processor_idle_dmi_table                                                                                           
> The function acpi_early_processor_set_pdc() references                                                                            
> the variable __cpuinitdata processor_idle_dmi_table.                                                                              
> This is often because acpi_early_processor_set_pdc lacks a __cpuinitdata                                                          
> annotation or the annotation of processor_idle_dmi_table is wrong.   
> 
> acpi_early_processor_set_pdc() is invoked only from __init acpi_bus_init()  
> Mark it __cpuinit.
> 
> The patch is against 2.6.33-rc4
> 
> Signed-off-by: Marin Mitov <mitov@...p.bas.bg>
> 
> ===========================================================================
> --- a/drivers/acpi/processor_pdc.c	2010-01-13 21:53:14.000000000 +0200
> +++ b/drivers/acpi/processor_pdc.c	2010-01-13 21:58:39.000000000 +0200
> @@ -151,7 +151,7 @@
>  	return AE_OK;
>  }
>  
> -void acpi_early_processor_set_pdc(void)
> +void __cpuinit acpi_early_processor_set_pdc(void)
>  {
>  	/*
>  	 * Check whether the system is DMI table. If yes, OSPM
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ