powerpc/ftrace: Use STK_GOT in ftrace_mprofile.S
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 17 Feb 2022 12:01:59 +0000 (13:01 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 Mar 2022 13:05:01 +0000 (00:05 +1100)
commit2ca48dbb210767b9e7166d7d47febc8fcd1da6e1
tree3b804ed9a517ab5a117db809a29209e748ef52f7
parenta5f04d1f2724db036ba4087873c0691881932bc9
powerpc/ftrace: Use STK_GOT in ftrace_mprofile.S

Instead of open coding offset value 24, use STK_GOT when
accessing got register in stack.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/9042bb30fa972056715fe5b6598a7c8049681293.1645099283.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/trace/ftrace_mprofile.S