From: Mike Galbraith Date: Fri, 23 Jan 2009 13:16:53 +0000 (+0100) Subject: perfcounters fix section mismatch warning in perf_counter.c::perf_counters_lapic_init() X-Git-Tag: v2.6.31-rc1~383^2~521 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3415dd9146c574bffe8f012c096bfc2bc62b9508;p=pandora-kernel.git perfcounters fix section mismatch warning in perf_counter.c::perf_counters_lapic_init() Fix: WARNING: arch/x86/kernel/built-in.o(.text+0xdd0f): Section mismatch in reference from the function pmc_generic_enable() to the function .cpuinit.text:perf_counters_lapic_init() The function pmc_generic_enable() references the function __cpuinit perf_counters_lapic_init(). This is often because pmc_generic_enable lacks a __cpuinit annotation or the annotation of perf_counters_lapic_init is wrong. Signed-off-by: Mike Galbraith Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed