[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081024115005.GA5214@elte.hu>
Date: Fri, 24 Oct 2008 13:50:05 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Rakib Mullick <rakib.mullick@...il.com>
Cc: linux-kernel@...r.kernel.org, rostedt@...dmis.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH -mm] ftrace : Fix section mismatch warning.
* Rakib Mullick <rakib.mullick@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists