From: Dmitry Eremin-Solenikov Date: Wed, 29 Jun 2011 04:54:00 +0000 (+0000) Subject: powerpc: Correct annotations of pmu registration functions X-Git-Tag: v3.1-rc1~236^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77c2342a578c11f22a1003e641f50d138dd9833a;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed