* Troubles with ACPI in Linux kernel v 2.6.31- git18
@ 2009-09-27 17:47 Александр Дориф
2009-09-28 1:03 ` ykzhao
0 siblings, 1 reply; 2+ messages in thread
From: Александр Дориф @ 2009-09-27 17:47 UTC (permalink / raw)
To: linux-acpi
Hello! I have tried to compile Linux kernel v. 2.6.31 git18 and have received these warnings:
WARNING: vmlinux.o(.text+0x1aa4a): Section mismatch in reference from the function acpi_save_state_mem() to the function .cpuinit.text:setup_trampoline()
The function acpi_save_state_mem() references
the function __cpuinit setup_trampoline().
This is often because acpi_save_state_mem lacks a __cpuinit
annotation or the annotation of setup_trampoline is wrong.
WARNING: drivers/acpi/processor.o(.text+0xa64): Section mismatch in reference from the function acpi_processor_add() to the function .cpuinit.text:acpi_processor_power_init()
The function acpi_processor_add() references
the function __cpuinit acpi_processor_power_init().
This is often because acpi_processor_add lacks a __cpuinit
annotation or the annotation of acpi_processor_power_init is wrong.
I hope this troubles will be corrected soon.
P.S.:I'm very sorry for my poor English.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Troubles with ACPI in Linux kernel v 2.6.31- git18
2009-09-27 17:47 Troubles with ACPI in Linux kernel v 2.6.31- git18 Александр Дориф
@ 2009-09-28 1:03 ` ykzhao
0 siblings, 0 replies; 2+ messages in thread
From: ykzhao @ 2009-09-28 1:03 UTC (permalink / raw)
To: Александр Дориф
Cc: linux-acpi@vger.kernel.org
On Mon, 2009-09-28 at 01:47 +0800, Александр Дориф wrote:
> Hello! I have tried to compile Linux kernel v. 2.6.31 git18 and have received these warnings:
> WARNING: vmlinux.o(.text+0x1aa4a): Section mismatch in reference from the function acpi_save_state_mem() to the function .cpuinit.text:setup_trampoline()
> The function acpi_save_state_mem() references
> the function __cpuinit setup_trampoline().
> This is often because acpi_save_state_mem lacks a __cpuinit
> annotation or the annotation of setup_trampoline is wrong.
> WARNING: drivers/acpi/processor.o(.text+0xa64): Section mismatch in reference from the function acpi_processor_add() to the function .cpuinit.text:acpi_processor_power_init()
> The function acpi_processor_add() references
> the function __cpuinit acpi_processor_power_init().
> This is often because acpi_processor_add lacks a __cpuinit
> annotation or the annotation of acpi_processor_power_init is wrong.
> I hope this troubles will be corrected soon.
> P.S.:I'm very sorry for my poor English.
Thanks for your info.
It seems that the function prototype is defined incorrectly.
Thanks.
> --
> 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
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-28 1:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-27 17:47 Troubles with ACPI in Linux kernel v 2.6.31- git18 Александр Дориф
2009-09-28 1:03 ` ykzhao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox