lkml.org 
[lkml]   [2008]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-10-24 13:53    [W:0.226 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site