[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110120005329.24119041@stein>
Date: Thu, 20 Jan 2011 00:53:29 +0100
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: Shaohua Li <shaohua.li@...el.com>
Cc: Len Brown <len.brown@...el.com>, linux-kernel@...r.kernel.org
Subject: section mismatch in intel_idle
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/
--
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