public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BUG] Link problem on drivers/acpi/processor_idle.c
@ 2006-05-28 16:04 Mark Lord
  0 siblings, 0 replies; only message in thread
From: Mark Lord @ 2006-05-28 16:04 UTC (permalink / raw)
  To: Linux Kernel, linux-acpi, len.brown

In 2.6.17-rc5, the GNU linker gives me this message:

WARNING: drivers/acpi/processor.o - Section mismatch: reference to .init.data: from .text between 'acpi_processor_power_init' (at offset 0xec7) and 'acpi_processor_cst_has_changed'

It is basically pointing out a potential bug on from processor_idle.c,
on this line of code:

     dmi_check_system(processor_power_dmi_table);

The problem here, is that processor_power_dmi_table is declared as __cpuinitdata,
and is not guaranteed to exist when invoked from code other than __init code.

The acpi_processor_power_init() routine is NOT marked as __init code.

Cheers

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-28 16:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-28 16:04 [BUG] Link problem on drivers/acpi/processor_idle.c Mark Lord

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox