]> git.baikalelectronics.ru Git - kernel.git/commit
tracing, x86: fix constraint for parent variable
authorSteven Rostedt <srostedt@redhat.com>
Tue, 10 Feb 2009 16:53:23 +0000 (11:53 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 11 Feb 2009 09:06:13 +0000 (10:06 +0100)
commit31fe211743ed76e167cabcb2fc0c6af4bfe62bc3
tree106e1d50cd407aef60be58711c9ef90a3b4c28db
parent8704b697cdf75d70b35a3ea8dd60d2e694c57c9c
tracing, x86: fix constraint for parent variable

The constraint used for retrieving and restoring the parent function
pointer is incorrect. The parent variable is a pointer, and the
address of the pointer is modified by the asm statement and not
the pointer itself. It is incorrect to pass it in as an output
constraint since the asm will never update the pointer.

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