powerpc: ftrace, use create_branch
authorSteven Rostedt <srostedt@redhat.com>
Tue, 25 Nov 2008 22:06:19 +0000 (14:06 -0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 28 Nov 2008 13:08:01 +0000 (14:08 +0100)
Impact: clean up

Paul Mackerras pointed out that the code to determine if the branch
can reach the destination is incorrect. Michael Ellerman suggested
to pull out the code from create_branch and use that.

Simply using create_branch is probably the best.

Reported-by: Michael Ellerman <michael@ellerman.id.au>
Reported-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found