Messages in this thread | | | Date | Fri, 24 Oct 2008 13:50:05 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH -mm] ftrace : Fix section mismatch warning. |
| |
* Rakib Mullick <rakib.mullick@gmail.com> wrote:
> Does the following solves the problem? > Thanks. > > --- linux-2.6-orig/arch/x86/kernel/ftrace.c 2008-10-24 16:35:48.000000000 +0600 > +++ linux-2.6/arch/x86/kernel/ftrace.c 2008-10-24 16:40:09.000000000 +0600 > @@ -129,7 +129,7 @@ int __init ftrace_dyn_arch_init(void *da > asm volatile ( > "jmp ftrace_test_jmp\n" > /* This code needs to stay around */ > - ".section .text, \"ax\"\n" > + ".section .text.init, \"ax\"\n"
how about the "This code needs to stay around" comment?
Ingo
| |