powerpc/ftrace: Fix assembly trampoline register usage
authorroger blofeld <blofeldus@yahoo.com>
Thu, 21 Jun 2012 05:27:14 +0000 (05:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Aug 2012 15:27:33 +0000 (08:27 -0700)
commita8ed5765b5a8bf44a86284d80afd24f37a23e369
tree75735ca8e70dae295e402b97d379693f24034019
parent4067ad7b53cd5ba2699286620a2c645bb56542fa
powerpc/ftrace: Fix assembly trampoline register usage

commit fd5a42980e1cf327b7240adf5e7b51ea41c23437 upstream.

Just like the module loader, ftrace needs to be updated to use r12
instead of r11 with newer gcc's.

Signed-off-by: Roger Blofeld <blofeldus@yahoo.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/ftrace.c