Re: [patch] fix section mismatch warning inperf_counter.c::perf_counters_lapic_init()

From: Ingo Molnar
Date: Fri Jan 23 2009 - 08:51:54 EST



* Mike Galbraith <efault@xxxxxx> wrote:

> Fix section mismatch in perf_counter.c::perf_counters_lapic_init()
>
> 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 <efault@xxxxxx>
>
> ---
> arch/x86/kernel/cpu/perf_counter.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

applied tip/perfcounters/core, thanks Mike!

Ingo
--
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/