powerpc/ftrace: Fix assembly trampoline register usage
authorroger blofeld <blofeldus@yahoo.com>
Thu, 21 Jun 2012 05:27:14 +0000 (05:27 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 2 Aug 2012 13:37:39 +0000 (14:37 +0100)
commit318ee7542a4f4a17a743668ae1d547e3c97a49f3
tree753db682f5a3fcc6d2a05d3538428e3fce13eec4
parentc812fe636b6e1e3b3b409b316157f56054252e25
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: Ben Hutchings <ben@decadent.org.uk>
arch/powerpc/kernel/ftrace.c