powerpc: Correct annotations of pmu registration functions
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Wed, 29 Jun 2011 04:54:00 +0000 (04:54 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 19 Jul 2011 05:12:40 +0000 (15:12 +1000)
commit77c2342a578c11f22a1003e641f50d138dd9833a
tree65a67c30f51063f7b06ec3c810276687c6c3c65b
parent0e0ebdb9c2ba7b56a82ba36d29ab3d8cb99de9e7
powerpc: Correct annotations of pmu registration functions

This fixes the following warning:
WARNING: arch/powerpc/kernel/built-in.o(.text+0x29768): Section mismatch in reference from the function .register_power_pmu() to the function .cpuinit.text:.power_pmu_notifier()
The function .register_power_pmu() references
the function __cpuinit .power_pmu_notifier().
This is often because .register_power_pmu lacks a __cpuinit
annotation or the annotation of .power_pmu_notifier is wrong.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/mpc7450-pmu.c
arch/powerpc/kernel/perf_event.c
arch/powerpc/kernel/power4-pmu.c
arch/powerpc/kernel/power5+-pmu.c
arch/powerpc/kernel/power5-pmu.c
arch/powerpc/kernel/power6-pmu.c
arch/powerpc/kernel/power7-pmu.c
arch/powerpc/kernel/ppc970-pmu.c