[PATCH] powerpc: fix register_power_pmu() section mismatch warning

2010-05-12 Thread Albert Herranz
Add missing __cpuinit annotations to fix a bunch of warnings like the one shown below when building a kernel for the PowerPC architecture with CONFIG_DEBUG_SECTION_MISMATCH=y. WARNING: arch/powerpc/kernel/built-in.o(.text+0x11c72): Section mismatch in reference from the function

Re: [PATCH] powerpc: fix register_power_pmu() section mismatch warning

2010-05-12 Thread Paul Mackerras
On Wed, May 12, 2010 at 08:04:46PM +0200, Albert Herranz wrote: Add missing __cpuinit annotations to fix a bunch of warnings like the one shown below when building a kernel for the PowerPC architecture with CONFIG_DEBUG_SECTION_MISMATCH=y. WARNING: