powernow-k8: section mismatch

From: Stefan Richter
Date: Tue May 25 2010 - 16:10:17 EST


Hi,

I got the following with current git:

WARNING: arch/x86/kernel/cpu/cpufreq/powernow-k8.o(.exit.text+0x1c): Section mismatch in reference from the function cleanup_module() to the variable .cpuinit.data:cpb_nb
The function __exit cleanup_module() references
a variable __cpuinitdata cpb_nb.
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
cpb_nb so it may be used outside an init section.

Looks like it was introduced by
"powernow-k8: Add core performance boost support".
--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/