ftrace: use nops instead of jmp
authorSteven Rostedt <srostedt@redhat.com>
Mon, 12 May 2008 19:20:43 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 18:33:28 +0000 (20:33 +0200)
commitdfa60aba04dae7833d75b2e2be124bb7cfb8239f
tree6aebf657355b5e2132e94420712f55e52eb35c62
parentb0fc494fae96a7089f3651cb451f461c7291244c
ftrace: use nops instead of jmp

This patch patches the call to mcount with nops instead
of a jmp over the mcount call.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/alternative.c
arch/x86/kernel/ftrace.c
include/asm-x86/alternative.h