]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ftrace: x86 use copy to and from user functions
authorSteven Rostedt <rostedt@goodmis.org>
Wed, 20 Aug 2008 16:55:07 +0000 (12:55 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:36:03 +0000 (10:36 +0200)
commit6f93fc076a464bfe24e8d4c5fea3f6ca5bdb264d
tree06dd8772efe5be7432e2191761744eb3d8d9c9bc
parent8feff1cacc29e9cfdc6d1ce5f2108db87b91046e
ftrace: x86 use copy to and from user functions

The modification of code is performed either by kstop_machine, before
SMP starts, or on module code before the module is executed. There is
no reason to do the modifications from assembly. The copy to and from
user functions are sufficient and produces cleaner and easier to read
code.

Thanks to Benjamin Herrenschmidt for suggesting the idea.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ftrace.c