]> git.baikalelectronics.ru Git - kernel.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)
commit7b9bbf7bca9db0d0889c3932128e56f132b913de
tree06dd8772efe5be7432e2191761744eb3d8d9c9bc
parentad308148d0d38926b7f00a0a2c655da2353e32f2
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