public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* section mismatch in intel_idle
@ 2011-01-19 23:53 Stefan Richter
  2011-01-20  5:09 ` Shaohua Li
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Richter @ 2011-01-19 23:53 UTC (permalink / raw)
  To: Shaohua Li; +Cc: Len Brown, linux-kernel

Hi,

this just showed up in 2.6.38-rc1:

WARNING: drivers/idle/built-in.o(.text+0x112): Section mismatch in reference from the function intel_idle_probe() to the variable .cpuinit.data:setup_broadcast_notifier
The function intel_idle_probe() references
the variable __cpuinitdata setup_broadcast_notifier.
This is often because intel_idle_probe lacks a __cpuinitdata 
annotation or the annotation of setup_broadcast_notifier is wrong.

WARNING: drivers/idle/built-in.o(.exit.text+0x2d): Section mismatch in reference from the function intel_idle_exit() to the variable .cpuinit.data:setup_broadcast_notifier
The function __exit intel_idle_exit() references
a variable __cpuinitdata setup_broadcast_notifier.
This is often seen when error handling in the exit function
uses functionality in the init path.
The fix is often to remove the __cpuinitdata annotation of
setup_broadcast_notifier so it may be used outside an init section.

-- 
Stefan Richter
-=====-==-== ---= =-=--
http://arcgraph.de/sr/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-20  5:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-19 23:53 section mismatch in intel_idle Stefan Richter
2011-01-20  5:09 ` Shaohua Li

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