powerpc/pseries: Fix hcall tracepoints with JUMP_LABEL=n
authorNicholas Piggin <npiggin@gmail.com>
Tue, 9 May 2023 09:15:59 +0000 (19:15 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Aug 2023 22:39:30 +0000 (08:39 +1000)
commit750bd41aeaeb1f0e0128aa4f8fcd6dd759713641
tree6500d622f198aaabef41a9c8c6c3f05924e98bfa
parent11073886cc4a2746845e8d113cadec2578c85033
powerpc/pseries: Fix hcall tracepoints with JUMP_LABEL=n

With JUMP_LABEL=n, hcall_tracepoint_refcount's address is being tested
instead of its value. This results in the tracing slowpath always being
taken unnecessarily.

Fixes: 9a10ccb29c0a2 ("powerpc/pseries: move hcall_tracepoint_refcount out of .toc")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230509091600.70994-1-npiggin@gmail.com
arch/powerpc/platforms/pseries/hvCall.S