Re: [PATCH -mm] ftrace : Fix section mismatch warning.

From: Ingo Molnar
Date: Mon Oct 20 2008 - 12:28:18 EST



* Rakib Mullick <rakib.mullick@xxxxxxxxx> wrote:

> WARNING: arch/x86/kernel/built-in.o(.text+0x11b41): Section mismatch
> in reference from the variable ftrace_test_p6nop to the function
> .init.text:ftrace_dyn_arch_init()
> The function ftrace_test_p6nop() references
> the function __init ftrace_dyn_arch_init().
> This is often because ftrace_test_p6nop lacks a __init
> annotation or the annotation of ftrace_dyn_arch_init is wrong.
>
> WARNING: arch/x86/kernel/built-in.o(.text+0x11b4b): Section mismatch
> in reference from the variable ftrace_test_nop5 to the function
> .init.text:ftrace_dyn_arch_init()
> The function ftrace_test_nop5() references
> the function __init ftrace_dyn_arch_init().
> This is often because ftrace_test_nop5 lacks a __init
> annotation or the annotation of ftrace_dyn_arch_init is wrong.
>
> This patch fixes the above warnings. Introduced by
> 'linux-next.patch'(2.6.27-rc5-mm1-broken-out).
> Thanks.
>
> Signed-off-by: Md.Rakib H. Mullick(rakib.mullick@xxxxxxxxx)

applied to tip/tracing/urgent, thanks!

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/