]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitf47a454db9129d2e61b224a40f4365cdd4f83042
tree106e1d50cd407aef60be58711c9ef90a3b4c28db
parent7d6d49b1f5551b87bd59c66c10747b89367760fd
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